mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#382 - ENH: Add support for @History using Oracle Total Recall ... for 'as of' queries
This commit is contained in:
1 parent
18aeedc153
commit
10937de24b
13 files changed
+234
-52
No files matched your search
@@ -403,9 +403,10 @@ public class CQueryBuilder {
|
||||
}
|
||||
|
||||
List<String> asOfTableAlias = query.getAsOfTableAlias();
|
||||
if (asOfTableAlias != null) {
|
||||
if (asOfTableAlias != null && !historySupport.isBindAtFromClause()) {
|
||||
// append the effective date predicates for each table alias
|
||||
// that maps to a @History entity involved in this query
|
||||
// Do this when history using separate tables/views (PG, MySql etc)
|
||||
if (!hasWhere) {
|
||||
sb.append(" where ");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user