All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jn.sqlhelper.dialect.internal.YugabyteDBDialect Maven / Gradle / Ivy

package com.jn.sqlhelper.dialect.internal;

import com.jn.langx.annotation.Name;
import com.jn.sqlhelper.dialect.internal.limit.LimitOffsetLimitHandler;

@Name("yugbyte")
public class YugabyteDBDialect extends AbstractDialect {
    public YugabyteDBDialect() {
        super();
        LimitOffsetLimitHandler limitHandler = new LimitOffsetLimitHandler();
        limitHandler.setHasOffsetRowsSuffix(true);
        setLimitHandler(limitHandler);
    }

    @Override
    public boolean isSupportsLimit() {
        return true;
    }

    @Override
    public boolean isSupportsLimitOffset() {
        return true;
    }

    @Override
    public boolean isBindLimitParametersInReverseOrder() {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy