rathm1 [
https://community.jboss.org/people/rathm1] created the discussion
"Re: Null Pointer Exception - Hibernate with Jboss 7.1.0 Final"
To view the discussion, visit:
https://community.jboss.org/message/731736#731736
--------------------------------------------------------------
Thanks for the reply.
We are using CMT for most of our transactions and BMT for just a few where we are
processing batch type jobs.
So there is a transaction running but if there is a database error (ex Optimistic lock or
unique constraint violation), this is when the null pointer exception occurs.
I found a JIRA that someone else logged referencing my post so I am waiting to see where
this goes.
https://hibernate.onjira.com/browse/HHH-7215?page=com.atlassian.jira.plug...
https://hibernate.onjira.com/browse/HHH-7215?page=com.atlassian.jira.plug...
For curiousity, I applied the patch described in the JIRA and that solved the problem.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/731736#731736]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]