mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#379 - Add MySql support for @History
This commit is contained in:
1 parent
98ec00a2d6
commit
9d83017374
7 files changed
+78
-6
No files matched your search
@@ -26,11 +26,21 @@ public class Binder {
|
||||
|
||||
private final TypeManager typeManager;
|
||||
|
||||
private final int asOfBindCount;
|
||||
|
||||
/**
|
||||
* Set the PreparedStatement with which to bind variables to.
|
||||
*/
|
||||
public Binder(TypeManager typeManager) {
|
||||
public Binder(TypeManager typeManager, int asOfBindCount) {
|
||||
this.typeManager = typeManager;
|
||||
this.asOfBindCount = asOfBindCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the bind count per predicate for 'As Of' query predicates.
|
||||
*/
|
||||
public int getAsOfBindCount() {
|
||||
return asOfBindCount;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user