#384 - ENH: Add findVersionsBetween(start, end) ... including implementation support for Oracle total recall

This commit is contained in:
Robin Bygrave committed 2015-08-18 23:57:11 +12:00
1 parent 75e9770d5e
commit 580b51381e
16 files changed
+170 -19

No files matched your search

@@ -115,6 +115,8 @@ public class DeployBeanDescriptor<T> {
private String baseTableAsOf;
private String baseTableVersionsBetween;
private boolean historySupport;
private TableName baseTableFull;
@@ -464,10 +466,20 @@ public class DeployBeanDescriptor<T> {
return baseTable;
}
/**
* Return the base table with as of suffix.
*/
public String getBaseTableAsOf() {
return baseTableAsOf;
}
/**
* Return the base table with versions between suffix.
*/
public String getBaseTableVersionsBetween() {
return baseTableVersionsBetween;
}
/**
* Return the base table with full structure.
*/
@@ -478,10 +490,11 @@ public class DeployBeanDescriptor<T> {
/**
* Set the base table. Only properties mapped to the base table are by default persisted.
*/
public void setBaseTable(TableName baseTableFull, String asOfSuffix) {
public void setBaseTable(TableName baseTableFull, String asOfSuffix, String versionsBetweenSuffix) {
this.baseTableFull = baseTableFull;
this.baseTable = baseTableFull == null ? null : baseTableFull.getQualifiedName();
this.baseTableAsOf = baseTable + asOfSuffix;
this.baseTableVersionsBetween = baseTable + versionsBetweenSuffix;
}
public void sortProperties() {