environment « Update « JPA Q&A





1. How Hibernate can be update dynamically in OSGi environment?    forum.hibernate.org

Hi, I got a problem. As we know , in traditional application hibernate works well, but how it works in OSGi environment ? In case of OSGi environment, there are many bundles includeing Hibernate bundle and modules (bundle), each module composed by MVC,Hibernate mapping ..... then, I want plug a new bundle in system at runtime. All i know just only ...

2. How Hibernate can be update dynamically in OSGi environment?    forum.hibernate.org

Hi, I got a problem. As we know , in traditional application hibernate works well, but how it works in OSGi environment ? In case of OSGi environment, there are many bundles includeing Hibernate bundle and modules (bundle), each module composed by MVC,Hibernate mapping ..... then, I want plug a new bundle in system at runtime. All i know just only ...

3. How to specify persistence units for different environments    forum.hibernate.org

I am trying to specify different JPA persistence units for my testing and deployment environment: a) hsqldb based for testing and b) mysql based for deployment. What is the best way to do this? I tried putting two persistence units in the same persistence.xml as follows: Code: java:/myappDatasource ...

4. Multiple Persistence Units in JavaSE environment    forum.hibernate.org

Hi, is it possible to use multiple persistence units in one Java SE project? What I have accomplished was, to use multiple units, but the -tag within the -tag in persistence.xml seems to be ignored, since all annotated entity classes will be managed by both units. Means: in both databases there are tables for all entities? how can I avoid this? ...