Adding setVersion method since the entity must be accessed on a property basis in order to work newObject hack.
This commit is contained in:
parent
70d2ea10ba
commit
9cd1aa2a8a
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@ public abstract class BaseEntity {
|
|||
return version;
|
||||
}
|
||||
|
||||
protected void setVersion(Long version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
protected void setNewObject(boolean newObject) {
|
||||
this.newObject = newObject;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue