diff options
Diffstat (limited to 'src/main/java/com/iciql/SQLDialectDefault.java')
-rw-r--r-- | src/main/java/com/iciql/SQLDialectDefault.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/com/iciql/SQLDialectDefault.java b/src/main/java/com/iciql/SQLDialectDefault.java index 4f635a9..98f63c4 100644 --- a/src/main/java/com/iciql/SQLDialectDefault.java +++ b/src/main/java/com/iciql/SQLDialectDefault.java @@ -529,4 +529,18 @@ public class SQLDialectDefault implements SQLDialect { return o.toString(); } + @Override + public <T, A> void prepareBitwiseAnd(SQLStatement stat, Query<T> query, A x, A y) { + query.appendSQL(stat, null, x); + stat.appendSQL(" & "); + query.appendSQL(stat, x, y); + } + + @Override + public <T, A> void prepareBitwiseXor(SQLStatement stat, Query<T> query, A x, A y) { + query.appendSQL(stat, null, x); + stat.appendSQL(" ^ "); + query.appendSQL(stat, x, y); + } + } |