1. JPA build entity manager with a specific JDBC connection instance stackoverflow.comI want to manage the database connection outside entity manager context so that I can use it for different entity managers. The question is how can I build the entity manager ... |
2. Two db connections using ejb, java persistence entitymanager stackoverflow.comI am am tryign to access two dbs via one slsb, specifically one method within an slsb. However this is not possible ? Other than altering the stored procs ... |
3. Hibernate: Cannot create entity manager factory after connection reset stackoverflow.comWe are using hibernate in a RESTful web service to query a sql server database on another server. If there is a socket exception such as connection reset during the query ... |
4. Seam - get Connection via (Session)em.getDelegate(); stackoverflow.comI use the Seam framework. If I do
Is this then a new connection?
And do I have to close the connection manually?
I tested this in a loop ... |
5. Does an entity manager create a connection to the database? stackoverflow.comIn my project, I forgot to close the entity manager for each operation. After some time, I got exception due to excessive connections to mysql server. Does this mean that each ... |
6. Connection Pooling in Hibernate entity manager coderanch.comHi I am trying to do the connection pooling for the Hibernate entity manager. As I could see there was one entry in Persistence.xml I have configured my pool size and tested it. its working fine. |
7. EntityManager -Connection details forum.hibernate.orgHi, I was just trying to make one J2SE program to test the capabilities of the EntityManager with respect to normal HibernateAnnotations. I followed the reference manual to do the setup configuration. What i found that the connection details given in persistence.xml is not found by hibernate. The persistence.xml file is file is pasted below. Code: |