I'm guessing something's funky with the connection pool manager, handler, or connection pool management. The code is a little difficult to follow; at the very least delete the commented-out lines--they're just noise. Some refactoring would clean things up too.
Joined: Mar 13, 2010
subject: org.hibernate.exception.GenericJDBCException: could not insert: