persistence « JPA « Spring Q&A





1. In JPA and Spring can a persistence unit be created on the fly?    stackoverflow.com

So apparently we have the need to create persistence units on the fly. Basically we have this web service and a bunch of identical schemas with identical domain classes. We want ...

2. JPA Multiple Persistence Unit bug    stackoverflow.com

I'm trying to add one more database/schema/persistenceUnit in my project and I'm receiving the error: No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 2 I google/api allot and ...

3. Why do we need to specify class inside element?    stackoverflow.com

My persistence.xml has 2 persistence-units. Each of them has several <class> elements. I thought that we must specify all classes related to certain persistence-unit. But I accidentally forgot to specify class-element for ...

4. Hibernate link between 2 persistence units?    stackoverflow.com

my question is a bit tricky so I will try to make it as simple as possible: I have two maven projects: ProjetA and ProjectB. ProjectA has the following persistence.xml file:

<persistence-unit name="ProjectAUnit" transaction-type="RESOURCE_LOCAL">
 ...

5. Bitronix + Spring + Hibernate + Persistence    stackoverflow.com

I am trying to create transaction manager and use it with Hibernate for Oracle. My persistence.xml file is:

<persistence-unit name="org.drools.persistence.jpa"
        transaction-type="JTA">
      ...

6. Persistence Design General Questions    stackoverflow.com

I tried to learn on my own, but soon started to realize that by the end of endless books, I will know all the @Entity etc. low level stuff without ever ...

7. Spring + Hibernate persistence causing problem    forum.springsource.org

Spring + Hibernate persistence causing problem We are developing an application system that will discover devices on the network, interrogates the devices to get their characteristics and then persists these characteristics ...

8. Reading 'Java persistence with Hibernate'    forum.springsource.org

I am reading a hot book - 'Java persistence with Hibernate' Christian Bauer & Gavin King (a revised edition of 'Hibernate in Action') 2007 by Manning Publications Co Again, the book ...

9. Using Multiple JPA Persistence Units    forum.springsource.org

I have a question regarding multiple persistence contexts in a spring JPA application. I have a fairly large application with several different jpa components that each have a different databases/contexts. I ...





10. Multiple JPA persistence units, database platforms    forum.springsource.org

Multiple JPA persistence units, database platforms Hey all, I'm evaluating Spring Framework (2.0.6 at the moment) for a project. I'm quite familiar with JPA and EJB3 from the Jboss realm, but ...

11. JPA with multiple persistence units    forum.springsource.org

JPA with multiple persistence units Hello, I am trying to set up a web application that has two persistence units, each with its own datasource. I am also using @PersistenceContext(unitName="...") in ...

12. Spring+Hibernate: Switch between multiple persistence units    forum.springsource.org

Spring+Hibernate: Switch between multiple persistence units Hello, I am rather fresh to JPA and Spring but I think I have managed to get the basic hangings in place where I have ...

13. Problems with JPA and multiple persistence units    forum.springsource.org

Problems with JPA and multiple persistence units Hi. Im working on a project where we have started migrating from EJB 2.1 to EJB3/JPA/Spring on JBoss,. We have completed the first component ...

14. Persistence problem using Hibernate+JPA    forum.springsource.org

Jul 19th, 2009, 09:53 PM #1 sjdekock View Profile View Forum Posts Private Message Junior Member Join Date Dec 2008 Posts 4 Persistence problem using Hibernate+JPA I am fairly new to ...

15. Persistence problem with JPA+Hibernate    forum.springsource.org

Jul 20th, 2009, 12:25 PM #1 sjdekock View Profile View Forum Posts Private Message Junior Member Join Date Dec 2008 Posts 4 Persistence problem with JPA+Hibernate I am fairly new to ...

16. Issues with multiple JPA persistence units    forum.springsource.org

Issues with multiple JPA persistence units I've been slowing constructing an app using OpenJPA/Spring. I just got to the point where I realized I'd have to manage multiple persistence units, because ...





17. Using JPA Persistence Unit.    forum.springsource.org

Using JPA Persistence Unit. I am trying to use persistenceUnitName JPAPU which I have defined in persistence.xml. It is coming as null. Please suggest. Code: <> oracle.toplink.essentials.PersistenceProvider jpa.Empl ...

18. Dealing with multiple JPA persistence units    forum.springsource.org

Dealing with multiple JPA persistence units My application has two features, each of which uses its own entities. And separate DB instances are required by them respectively. As they are totally ...

19. hibernate persistence in spring webflow    forum.hibernate.org