jndi « Update « JPA Q&A





1. How to configure JPA to use JNDI?    stackoverflow.com

I have a working persistence definition that works on java level tests. Now I want to incorporate that into a web application which defines the database connection as JNDI in the ...

2. Jndi name of persistence unit (persistence.xml)    forum.hibernate.org

I am using Jboss EJB3/JPA integration to get Hibernate SessionFactory object defined in persistence.xml. I am able to inject SessionFactory to EJB by annotation @PersistenceUnit. But I have to use SessionFactory in one servlet. Here the problems begin. Injection to servlet not working and I cannot use spring injection becouse of the application architecture. Then in jboss logs I saw that ...