jndi « Test « JPA Q&A





1. Trying to Unit Test A Class That Makes DB Queries Using Hibernate And Can't Get Session Created    stackoverflow.com

I am trying to implement JUnit tests for a class that performs DB queries using Hibernate. When I create the class under test, I get access to the session through ...

2. Running test suite "ant junit" ... How to get JNDI    forum.hibernate.org

Hello -- I am continuing on with getting iSeries DB2/400 to run with Hibernate. With help received here the "ant eg" sample application runs with a subclassed DB2Dialect. Now it is the "ant junit" test suite that I'm trying to get running. Nearly all of the tests are working but one definite problem for me is whenever it goes to use ...