1. JPA persistence.xml share same jar file stackoverflow.comI'm wondering if I can share the same jar file for several persistence units.. I mean: I have two persistence units described in my persistence.xml file and the entities are not ... |
2. Sharing hibernate.jar across multiple Tomcat webapps forum.hibernate.orgI realize it and completely agree with you! This is something I only want to do in my dev env. I have a handful of projects that I am working on all of which use the same technologies and I have managed to put all the jars in shared/lib and get it to work except Hibernate. commons-logging was really a pain ... |
3. hibernate used in shared jar files forum.hibernate.orgWe are creating a framework that provides additional functionality for webapps. Our environment is a Tomcat installation, and we have created a number of shared classes that can be accessed by webapps deployed on our server via a custom API. The shared classes use hibernate for their persistence. These shared classes are bundled as a jar and reside in the /shared/lib ... |
4. Several jars sharing the same persistence unit forum.hibernate.orgHi, I would like to know if it is possible to share the same persistence unit between several jars. I would like to split my ORMLayer in several modules (each one corresponding to one jar file). Kernel module will defined persistence unit and other will reference it. If you have any idea, I will be very delighted :-) Regards, |