You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that jimmer always uses optimistic locking even when version property is unloaded.
And jimmer always executes 2 queries (select + update) instead of a single merge/upsert.
Jimmer Version
0.9.64
JDK Version
23
Database
PostgreSQL, H2
OS
Mac
Expected behavior
If
version
property is unloaded Jimmer should not try to use optimistic locking. Jimmer should use single upsert statement whensave
entity.Actual behavior
Jimmer uses optimistic locking when
version
property is unloaded. Jimmer executesselect
+update
.Description
Optimistic locking is not disabled when version property is unloaded.
Reproduction steps
Generated SQL
select + update
Relation Model
@entity
@KeyUniqueConstraint
interface A : SerialId {
}
Screenshots
No response
Logs
No response
The text was updated successfully, but these errors were encountered: