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

com.jn.nacos.plugin.datasource.db.mssql.MssqlDatabaseDialect Maven / Gradle / Ivy

The newest version!
package com.jn.nacos.plugin.datasource.db.mssql;

import com.jn.langx.util.collection.Maps;
import com.jn.nacos.plugin.datasource.DatabaseNames;
import com.jn.nacos.plugin.datasource.IdentifierQuotedMode;
import com.jn.nacos.plugin.datasource.NacosDatabaseDialect;

import java.util.Map;

public class MssqlDatabaseDialect extends NacosDatabaseDialect {
    public MssqlDatabaseDialect() {
        super(DatabaseNames.MSSQL);
        this.identifierQuotedMode = IdentifierQuotedMode.QUOTED;
    }

    @Override
    protected Map specifiedFunctions() {
        Map map = Maps.newHashMap();
        map.put("NOW()", "CURRENT_TIMESTAMP");
        return map;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy