com.jn.sqlhelper.dialect.internal.HhDbDialect Maven / Gradle / Ivy
package com.jn.sqlhelper.dialect.internal;
import com.jn.langx.annotation.Name;
import com.jn.sqlhelper.dialect.internal.limit.LimitOffsetLimitHandler;
/**
* based on PostgreSQL
*/
@Name("hh")
public class HhDbDialect extends AbstractDialect {
public HhDbDialect() {
super();
setLimitHandler(new LimitOffsetLimitHandler());
}
@Override
public boolean isSupportsLimit() {
return true;
}
@Override
public boolean isSupportsLimitOffset() {
return true;
}
@Override
public boolean isBindLimitParametersInReverseOrder() {
return true;
}
}