Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-8535
Generating an ID with org.hibernate.id.enhanced.TableGenerator can hang the application if HIBERNATE_SEQUENCES has NULL value
When enhanced table-based ID generator ({{org.hibernate.id.enhanced.TableGenerator}}) is used, it is generating new IDs based on a database table, named {{HIBERNATE_SEQUENCES}} by default. The {{NEXT_VAL}} column in this table is generated as nullable. If it contains a {{NULL}} value however the ID generation hangs and never completes, generator code is r...