Duplicate
Details
Assignee
UnassignedUnassignedReporter
FredFredComponents
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Fred
FredComponents
Priority
Created January 27, 2009 at 8:23 PM
Updated December 31, 2024 at 2:49 PM
Resolved December 31, 2024 at 2:49 PM
I created a entity with a composite key, and one of attributes is a sequence. The problem is when I try to save the entity, the sequence attribute is not generated, and a not-null contraint is raised. The log shows to the hibernate is working with generator like assign, but, when I to remove the composite key and I change the primary key only to the sequence attribute, he works fine.
Fred