aspose file tools*
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
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: 42292
    
  64
Sure. You can specify that for each <persistence-unit> separately.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Is it possible to specify which JPA implementation to use?