diff options
author | James Moger <james.moger@gitblit.com> | 2014-10-22 12:52:33 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-10-22 22:29:00 -0400 |
commit | cd036aa20930859fef51ed2fc4abc3d8cada5e3d (patch) | |
tree | 4c0cd3085ac371e9fc1a570d913ed063b1752055 /src/main/java/com/iciql/SQLDialectDerby.java | |
parent | 40ad76e1db008923cd089b0dde80590156fa0596 (diff) | |
download | iciql-cd036aa20930859fef51ed2fc4abc3d8cada5e3d.tar.gz iciql-cd036aa20930859fef51ed2fc4abc3d8cada5e3d.zip |
Update dependencies
Diffstat (limited to 'src/main/java/com/iciql/SQLDialectDerby.java')
-rw-r--r-- | src/main/java/com/iciql/SQLDialectDerby.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/iciql/SQLDialectDerby.java b/src/main/java/com/iciql/SQLDialectDerby.java index f954a7c..99405b7 100644 --- a/src/main/java/com/iciql/SQLDialectDerby.java +++ b/src/main/java/com/iciql/SQLDialectDerby.java @@ -40,7 +40,7 @@ public class SQLDialectDerby extends SQLDialectDefault { @Override
public void appendLimitOffset(SQLStatement stat, long limit, long offset) {
// FETCH/OFFSET added in 10.5
- if (databaseVersion >= 10.5f) {
+ if (databaseMajorVersion >= 10 && databaseMinorVersion >= 5) {
if (offset > 0) {
stat.appendSQL(" OFFSET " + offset + (offset == 1 ? " ROW" : " ROWS"));
}
|