#347 - @History support with query.asOf(Timestamp)

This commit is contained in:
Robin Bygrave committed 2015-07-24 10:18:17 +12:00
1 parent 3cafb37a73
commit 82489636d5
37 files changed
+601 -92

No files matched your search

@@ -173,6 +173,8 @@ public class BeanProperty implements ElPropertyValue {
*/
final int dbType;
final boolean excludedFromHistory;
/**
* The default value to insert if null.
*/
@@ -256,6 +258,7 @@ public class BeanProperty implements ElPropertyValue {
this.dbRead = deploy.isDbRead();
this.dbInsertable = deploy.isDbInsertable();
this.dbUpdatable = deploy.isDbUpdateable();
this.excludedFromHistory = deploy.isExcludedFromHistory();
this.secondaryTable = deploy.isSecondaryTable();
if (secondaryTable) {
@@ -341,6 +344,7 @@ public class BeanProperty implements ElPropertyValue {
this.sqlFormulaSelect = InternString.intern(override.getSqlFormulaSelect());
this.formula = sqlFormulaSelect != null;
this.excludedFromHistory = source.excludedFromHistory;
this.fetchEager = source.fetchEager;
this.unidirectionalShadow = source.unidirectionalShadow;
this.discriminator = source.discriminator;
@@ -1004,6 +1008,13 @@ public class BeanProperty implements ElPropertyValue {
return dbEncryptedType;
}
/**
* Return true if this property is excluded from history.
*/
public boolean isExcludedFromHistory() {
return excludedFromHistory;
}
/**
* Return true if this property should be included in an Insert.
*/