Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convert JDBC Connection to EntityManager

 
sri ramvaithiyanathan
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using SAP Server and sap maxdb as database.
While trying to create database connection using entitymanager I am getting following error



I dont know where I am going wrong.

Is there any way to convert jdbc connection to entity manager.

I tried using this way

but I am getting below error.





Regards,
Sriram.V

 
sri ramvaithiyanathan
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
solved the problem by adding required jar file(eclipselink-2.0.0.jar and eclipselink-javax.persistence-2.0.jar)

Regards,
Sriram.V
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic