| I got rid of the GenericJDBCException by increasing the TTL of the connection in use provided by the pool. I use Hibernate 5.0.10 Final, it works like a charm now. The main difference between my source code and the one provided in this bug report is the use of sequences in mine instead of auto incremental values. |