JNDI « cfg « JPA Q&A





1. hibernate.cfg.xml session-factory name without JNDI?    forum.hibernate.org

org.example.CustomConnectionProvider exampleDataSource org.hibernate.dialect.Oracle10gDialect ...

2. Problem whentried to use JNDI name in cfg file    forum.hibernate.org

I am working on J2EE application. When I add following line to the hibernate.cfg.xml, it works and inserts a record. But when datasource is configured and that JNDI name is mentioned then it gives exceptions posted at the end. oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.x.x.x:1521:dbname user_common user_common BGM_COMMON net.sf.hibernate.dialect.OracleDialect true Why the code doesn't ...

3. JNDI, hibernate.cfg.xml, SessionFactory    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:3.1 Name and version of the database you are using:Oracle 10g Hello forum, I'm using Hibernate Tools in order to generate POJO classes, mapping classes and DAO's classes. Hibernate Tools generates me these files correctly. However I have taken several days how I can assemple all in J2EE web application ...

4. Tomcat hibernate.cfg.xml JNDI    forum.hibernate.org

org.hsqldb.jdbcDriver jdbc:hsqldb:file:P://databases//miniDB dbuser secret