Fixed
Details
Assignee
Gavin KingGavin KingReporter
Gavin KingGavin KingComponents
Fix versions
Priority
Major
Details
Details
Assignee
Gavin King
Gavin KingReporter
Gavin King
Gavin KingComponents
Fix versions
Priority
Created June 2, 2024 at 10:48 AM
Updated June 14, 2024 at 3:08 PM
Resolved June 2, 2024 at 11:55 AM
If an entity has a generated id, and the instance passed to a
@Save
method has no id assigned, we should callinsert()
instead ofupsert()
, since users are going to expect this, even if I don’t personally love it.To simplify the generated code, I will also add
StatelessSession.getIdentifier()
.