wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Is it possible to specify which JPA implementation to use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Is it possible to specify which JPA implementation to use?" Watch "Is it possible to specify which JPA implementation to use?" New topic
Author

Is it possible to specify which JPA implementation to use?

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Suppose you have EclipseLink and Hibernate both on your classpath?

In some cases you want to use EclipseLink and in other Hibernate. Is this possible?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Sure. You can specify that for each <persistence-unit> separately.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it possible to specify which JPA implementation to use?
 
Similar Threads
EclipseLink versus Hibernate 3.x
How to start JPA
JPA - Hibernate Integration
JPA hands on
call a stored procedure using eclipselink Problem...