Quantcast
Viewing all articles
Browse latest Browse all 3285

Fail to run the tutorial project: Adding Container-Managed Persistence with JPA (Java EE 6 Web Profile SDK)

Hi,

 

I followed the following tutorial step by step 

Adding Container-Managed Persistence with JPA (Java EE 6 Web Profile SDK)

 

 

In the samples section of the help of the SAP HANA Cloud Platform -> https://help.hana.ondemand.com/help/frameset.htm?0f280cb19fe44e97970afa693d1c3389.htmlGet Started -> https://help.hana.ondemand.com/help/frameset.htm?e66f3eecbb5710148397a19b46c4979b.htmlJava: Getting Started -> Samples.

when I run it on HANA Cloud platform, I got the following error (see below).

 

If I import a existing project from the Open SAP course, it works. So I assumed my set up is fine.

Is something missing in the tutorial?

If yes, can someone update the tutorial?

 

Best regards

 

Ying

 

 

 

 

 

 

exception is:

  javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException

Internal Exception: org.apache.commons.dbcp.SQLNestedException: Borrow prepareStatement from pool failed

Error Code: 0

Call: SELECT ID, FIRSTNAME, LASTNAME FROM T_PERSON

Query: ReadAllQuery(name="AllPersons" referenceClass=Person sql="SELECT ID, FIRSTNAME, LASTNAME FROM T_PERSON")


Viewing all articles
Browse latest Browse all 3285

Trending Articles