public class DbSqlSessionFactory extends Object implements SessionFactory
Constructor and Description |
---|
DbSqlSessionFactory() |
public static final int ACT_RU_VARIABLE_TEXT_LENGTH
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> 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
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 void setDatabaseTablePrefix(String databaseTablePrefix)
public String getDatabaseTablePrefix()
public String getDatabaseSchema()
public void setDatabaseSchema(String databaseSchema)
Copyright © 2018. All rights reserved.