Init lastTypeChange to -1 so we know we have to run update() once
even if the underlying properties file does not exist.
This commit is contained in:
parent
da936baf1e
commit
7ed203c8f0
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,9 @@ public final class DbMapping implements Updatable {
|
||||||
long lastID;
|
long lastID;
|
||||||
|
|
||||||
// timestamp of last modification of the mapping (type.properties)
|
// timestamp of last modification of the mapping (type.properties)
|
||||||
long lastTypeChange;
|
// init value is -1 so we know we have to run update once even if
|
||||||
|
// the underlying properties file is non-existent
|
||||||
|
long lastTypeChange = -1;
|
||||||
// timestamp of last modification of an object of this type
|
// timestamp of last modification of an object of this type
|
||||||
long lastDataChange;
|
long lastDataChange;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue