|
I'm developing a somewhat big project using JPA and everything works fine with hibernate pre-5.
I tried to upgrade to 5.0.0.CR2 to test for problems and indeed there is one.
I've an entity with a lot of related entities of this kind:
@OrderColumn
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
private List<Recipient> recipients;
...
@OrderColumn
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
private List<Input> inputs;
...
And I'm unable to store it on the db, I get an error of this kind:
Caused by: java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: NOT NULL check constraint; SYS_CT_10259 table: MYENTITY_RECIPIENT column: RECIPIENTS_ID
Everything works fine with hibernate 4.3.10.
The project is too big to try to isolate the problem and upload it here. Is there anything else I can do to help understand the regression?
|