Is it ok to take it from Glassfish project ( glassfish-persistence-api) or may be there is a Hibernate jar?
views:
4401answers:
3
+3
A:
hibernate.jar and hibernate-entitymanager.jar contains only the packages org.hibernate.*. So you should take it from the Glassfish project.
Jerrish Varghese
2009-04-10 12:39:08
+2
A:
If you are developing an OSGi system I would recommend you to download the "bundlefied" version from Springsource Enterprise Bundle Repository.
Otherwise its ok to use a regular jar-file containing the javax.persistence package
Schildmeijer
2009-04-10 19:27:56
Templar
2010-06-25 05:02:01
+4
A:
You can use the ejb3-persistence.jar that's bundled with hibernate. This jar only includes the javax.persistence package.
alves
2009-10-28 12:27:31