persistence-unit
What is Best way to use JPA in WEBSERVICES?
i am creating a web service using 3rd party wsdl that helps me in getting a kind of notification. now i have to save that notification in DB and perform several other operations related to DataBase.[详细]
2023-03-28 10:16 分类:问答Using different datasources for persistence units in Spring
Ok, I\' new to this.What I want to do is say \"these classes are persisted over here (database a), and these classes over there (database b)\".I think I\'m supposed to define the classes explicitly un[详细]
2023-03-08 06:52 分类:问答Multiple JPA persistence units pointing to same database?
Can we have more than one JPA persistence units pointing to same database, in different Java projects and deployed on the server at the same time? By same time I mean, not deployed at the same second[详细]
2023-01-19 08:13 分类:问答How can I manage to use 2 persistense units and make my app to recognize which to use?
I hava a JavaEE/ EJB3 application in which I\'ll need to connect diferent databases. It\'s on JBOSS 5.10GA.[详细]
2023-01-17 17:35 分类:问答Is it possible to share configuration from persistence.xml?
I have one persistence unit configured in my persistence.xml but i have two databases. Those databases are identical, regarding the schema. What i am trying to do is:[详细]
2023-01-14 20:02 分类:问答Seam - Multiple Persistence Units
Does Seam support multiple persistence units in its configuration?Also, when would you want to have or need multiple persistence units?[详细]
2023-01-05 01:07 分类:问答EJB3 - using 2 persistence units within a transaction (Exception: Local transaction already has 1 non-XA Resource)
I am trying to use 2 persistence units within the same transaction in a Java EE application deployed on Glassfish.[详细]
2022-12-26 00:20 分类:问答use of EntityManagerFactory causing duplicate primary key exceptions
Hey guys, my goal is create an EntityManager using properties dependent on which database is in use.I\'ve seen something like this done in all my Google searches(I made the code more basic for the pur[详细]
2022-12-22 19:50 分类:问答