• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to specify which JPA implementation to use?

 
Luke Murphy
Ranch Hand
Posts: 300
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. You can specify that for each <persistence-unit> separately.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic