public class DbSqlSessionFactory extends Object implements SessionFactory
Constructor and Description |
---|
DbSqlSessionFactory() |
public static final String MSSQL
public static final String DB2
public static final String ORACLE
public static final String H2
public static final String MYSQL
public static final String POSTGRES
protected static final Map<String,Map<String,String>> databaseSpecificStatements
public static final Map<String,String> databaseSpecificLimitBeforeStatements
public static final Map<String,String> databaseSpecificLimitAfterStatements
public static final Map<String,String> databaseSpecificInnerLimitAfterStatements
public static final Map<String,String> databaseSpecificLimitBetweenStatements
public static final Map<String,String> databaseSpecificLimitBetweenClobStatements
public static final Map<String,String> databaseSpecificOrderByStatements
public static final Map<String,String> databaseSpecificLimitBeforeNativeQueryStatements
protected String databaseType
protected String databaseTablePrefix
protected String databaseSchema
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
protected IdGenerator idGenerator
protected boolean isDbIdentityUsed
protected boolean isDbHistoryUsed
protected boolean cmmnEnabled
protected boolean dmnEnabled
public Class<?> getSessionType()
getSessionType
in interface SessionFactory
public Session openSession()
openSession
in interface SessionFactory
protected static void addDatabaseSpecificStatement(String databaseType, String activitiStatement, String ibatisStatement)
public void setDatabaseType(String databaseType)
public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
public void setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
public IdGenerator getIdGenerator()
public void setIdGenerator(IdGenerator idGenerator)
public String getDatabaseType()
public boolean isDbIdentityUsed()
public void setDbIdentityUsed(boolean isDbIdentityUsed)
public boolean isDbHistoryUsed()
public void setDbHistoryUsed(boolean isDbHistoryUsed)
public boolean isCmmnEnabled()
public void setCmmnEnabled(boolean cmmnEnabled)
public boolean isDmnEnabled()
public void setDmnEnabled(boolean dmnEnabled)
public void setDatabaseTablePrefix(String databaseTablePrefix)
public String getDatabaseTablePrefix()
public String getDatabaseSchema()
public void setDatabaseSchema(String databaseSchema)
Copyright © 2018. All rights reserved.