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

cn.icuter.jsql.dialect.CubridDialect Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
package cn.icuter.jsql.dialect;

import cn.icuter.jsql.builder.BuilderContext;

/**
 * @author edward
 * @since 2018-08-30
 */
public class CubridDialect implements Dialect {
    @Override
    public String getDriverClassName() {
        return "cubrid.jdbc.driver.CUBRIDDriver";
    }

    @Override
    public String getDialectName() {
        return "cubrid";
    }

    @Override
    public void injectOffsetLimit(BuilderContext builderCtx) {
        Dialects.injectWithLimitKey(builderCtx);
    }

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

    @Override
    public boolean supportConnectionIsValid() {
        return false;
    }

    @Override
    public String validationSql() {
        return "select 1";
    }

    @Override
    public boolean supportSavepoint() {
        return false;
    }

    @Override
    public boolean supportNClob() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy