xml « EJB « JPA Q&A





1. it's possible configure a persistence.xml for multiple data sources?    stackoverflow.com

hi i just want to know how configure in a persistence.xml two datasources one of the data sources have a jar outside from the other. I'm tried but i really don't ...

2. JPA using alternative "persistence.xml"    stackoverflow.com

I know that with the instruction:

Persistence.createEntityManagerFactory("persistence-unit-name");
The JPA persistence mechanism reads the "persistence.xml" file, looks for the persistence unit called "persistence-unit-name", and constructs the EntityManagerFactory based on it. My question is, how can ...

3. Understanding Persistence.xml in JPA    stackoverflow.com

I am trying to understand the following things: When I make an EJB project and deploys it to Glassfish do I set up JDBC resources/connection pools at the administrator center of Glassfish ...

4. EJB3: persistence.xml seems to "get lost" in eclip    forum.hibernate.org

I'm getting started with EJB3. I have a little demo that starts up fine when run as an Standalone J2SE App. When I try to start up the same when running as an eclipse plugin I get the Exception shown below. I assume that the META-INF/persistence.xml file isn't found at all. I tried jaring the META-INF and putting it an the ...