Even though the sequence next_val may technically be nullable, under what conditions would NULL actually occur? What use case is there for manually inserting it, as your test case does?
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...
This message was sent by Atlassian JIRA (v6.1-OD-09-WN#6144-sha1:62dfc48)