When trying to get entity by "load" on hibernate session, just after having commit underlying transaction, and before closing session, a NullPointerException is thrown from Batcher (AbstractBatcher, BatchingBatcher) as connectionManager return a null connection so method "prepareQueryStatement" in this batcher cannot work.
It seems ok that it should not work after commit but I think a more explicit exception should be provided in order to make debug more easy.
Test tsaved = hsession.load(Test.class, "pk"); // NullPointerException raises here
postgresql8, jboss4.0.3SP1, unix (linux, os x)
This worked perfectly fine for me last week when I was testing auto-commit mode, so you need to provide at least, an isolated and minimal test that shows the problem.
And use a final release, not some arbitrary release candidate.
no test provided