Skip to Content
0
Jan 16, 2013 at 11:39 AM

JPA samples with HANA

173 Views

I tried to run the JPA sample with HANA from SDK-1.16.0

I imported the sample persistence-with-jpa from the SDK into Eclipse and run it locally and in the cloud.

https://help.netweaver.ondemand.com/default.htm?add_persistence_neo.html#concept_BE64823733A746719F68E91FE6404C97_76

It runs fine locally (w/o HANA) but there is an error in the cloud when i tried to use HANA.

https://help.netweaver.ondemand.com/default.htm?add_persistence_neo.html#concept_BE64823733A746719F68E91FE6404C97_76

This is the error message.

Persistence with JPA Sample!

Persistence operation failed with reason: Exception [EclipseLink-4021] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException Exception Description: Unable to acquire a connection from driver [null], user [null] and URL [null]. Verify that you have set the expected driver class and URL. Check your login, persistence.xml or sessions.xml resource. The jdbc.driver property should be set to a class that is compatible with your database platform

Any ideas what is currently wrong?

Harald