Class MySQLDatabasePlatform
java.lang.Object
org.kuali.rice.core.framework.persistence.platform.ANSISqlDatabasePlatform
org.kuali.rice.core.framework.persistence.platform.MySQLDatabasePlatform
- All Implemented Interfaces:
org.kuali.rice.core.framework.persistence.platform.DatabasePlatform
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyLimitSql(Integer limit) escapeString(String sqlString) Performs MySQL-specific escaping of String parameters.getDateFormatString(String dateFormatString) getLockRouteHeaderQuerySQL(String documentId, boolean wait) protected LonggetNextValSqlJdbc(String sequenceName, Connection connection) Generate next id value for the logical sequence given the JDBC Connectionprotected LonggetNextValSqlOjb(String sequenceName, org.apache.ojb.broker.PersistenceBroker persistenceBroker) getSelectForUpdateSuffix(long waitMillis) booleantoString()Methods inherited from class org.kuali.rice.core.framework.persistence.platform.ANSISqlDatabasePlatform
getCreateTableFromTableSql, getDateSQL, getDropTableSql, getInsertDataFromTableSql, getIsNullFunction, getNextValSQL, getTruncateTableSql, getUpperCaseFunction
-
Constructor Details
-
MySQLDatabasePlatform
public MySQLDatabasePlatform()
-
-
Method Details
-
getLockRouteHeaderQuerySQL
-
getStrToDateFunction
-
getCurTimeFunction
-
applyLimitSql
-
getNextValSqlJdbc
Generate next id value for the logical sequence given the JDBC Connection- Specified by:
getNextValSqlJdbcin classANSISqlDatabasePlatform- Parameters:
sequenceName- the logical sequence nameconnection- JDBC Connection to use (without closing)- Returns:
- next id in sequence or RuntimeException on error
-
getNextValSqlOjb
protected Long getNextValSqlOjb(String sequenceName, org.apache.ojb.broker.PersistenceBroker persistenceBroker) - Specified by:
getNextValSqlOjbin classANSISqlDatabasePlatform
-
isSITCacheSupported
public boolean isSITCacheSupported() -
toString
- Overrides:
toStringin classANSISqlDatabasePlatform
-
getSelectForUpdateSuffix
-
getDateFormatString
-
escapeString
Performs MySQL-specific escaping of String parameters.- See Also:
-