Skip to Content
author's profile photo Former Member
Former Member

Advance Persistency Features

Hi

I am working of SAP HANA Cloud development Week 3 Unit Demo, During the demo "rui" mention a link on the documentation for the target database and i tried to findout the described link but i am not able to find the description/text of target database on the given document i don't know weather any change has been made in the document or change in the demo. I then tried the demo with mentioning the target database and it shows me this error

Persistence with EJB Sample!

Persistence operation failed with reason: The bean encountered a non-application exception; nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sap:/// []. Error Code: -708


and if i mention the target database "com.sap.persistence.platform.database.HDBPlatform" name as it is mentioned in the demo also i found this error, i don't understand now what to do next i am stuck and tried every possible thing.


Persistence with EJB Sample!

Persistence operation failed with reason: The bean encountered a non-application exception; nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.ValidationException Exception Description: Database platform class [com.sap.persistence.platform.database.HDBPlatform] not found. Internal Exception: java.lang.ClassCastException: com.sap.persistence.platform.database.HDBPlatform cannot be cast to org.eclipse.persistence.internal.databaseaccess.Platform

connection.properties is attached herewith for further reference


Any Help would be highly appreciated

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2016 at 08:26 AM

    Hi,

    I also came into this situation. Do you have any solutions? I will be appreciated for your help. Thank you~

    Best regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.