public class DbSqlSessionFactory extends Object implements SessionFactory
Constructor and Description |
---|
DbSqlSessionFactory(boolean jdbcBatchProcessing) |
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
public static final String MARIADB
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> databaseSpecificLimitBeforeWithoutOffsetStatements
public static final Map<String,String> databaseSpecificLimitAfterWithoutOffsetStatements
public static final Map<String,String> databaseSpecificInnerLimitAfterStatements
public static final Map<String,String> databaseSpecificLimitBetweenStatements
public static final Map<String,String> databaseSpecificLimitBetweenFilterStatements
public static final Map<String,String> databaseSpecificLimitBetweenAcquisitionStatements
public static final Map<String,String> databaseSpecificCountDistinctBeforeStart
public static final Map<String,String> databaseSpecificCountDistinctBeforeEnd
public static final Map<String,String> databaseSpecificCountDistinctAfterEnd
public static final Map<String,String> optimizeDatabaseSpecificLimitBeforeWithoutOffsetStatements
public static final Map<String,String> optimizeDatabaseSpecificLimitAfterWithoutOffsetStatements
public static final Map<String,String> databaseSpecificOrderByStatements
public static final Map<String,String> databaseSpecificLimitBeforeNativeQueryStatements
public static final Map<String,String> databaseSpecificDaysComparator
public static final int MAXIMUM_NUMBER_PARAMS
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
protected boolean jdbcBatchProcessing
public Class<?> getSessionType()
getSessionType
in interface SessionFactory
public Session openSession()
openSession
in interface SessionFactory
public DbSqlSession openSession(Connection connection, String catalog, String schema)
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 © 2020. All rights reserved.