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

JPA samples with HANA


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.

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

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?