HHH-4943
This commit is contained in:
parent
4c98afbbad
commit
c6db5cfdcb
|
@ -36,7 +36,7 @@ public class FirebirdDialect extends InterbaseDialect {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getLimitString(String sql, boolean hasOffset) {
|
public String getLimitString(String sql, boolean hasOffset) {
|
||||||
return new StringBuffer( sql.length() + 20 )
|
return new StringBuilder( sql.length() + 20 )
|
||||||
.append( sql )
|
.append( sql )
|
||||||
.insert( 6, hasOffset ? " first ? skip ?" : " first ?" )
|
.insert( 6, hasOffset ? " first ? skip ?" : " first ?" )
|
||||||
.toString();
|
.toString();
|
||||||
|
|
|
@ -98,7 +98,7 @@ public class InterbaseDialect extends Dialect {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getLimitString(String sql, boolean hasOffset) {
|
public String getLimitString(String sql, boolean hasOffset) {
|
||||||
return new StringBuffer( sql.length()+15 )
|
return new StringBuilder( sql.length()+15 )
|
||||||
.append(sql)
|
.append(sql)
|
||||||
.append(hasOffset ? " rows ? to ?" : " rows ?")
|
.append(hasOffset ? " rows ? to ?" : " rows ?")
|
||||||
.toString();
|
.toString();
|
||||||
|
|
Loading…
Reference in New Issue