org.apache.ojb.broker.platforms
Class PlatformMySQLImpl
java.lang.Object
org.apache.ojb.broker.platforms.PlatformDefaultImpl
org.apache.ojb.broker.platforms.PlatformMySQLImpl
- All Implemented Interfaces:
- org.apache.ojb.broker.accesslayer.JoinSyntaxTypes, org.apache.ojb.broker.platforms.Platform
public class PlatformMySQLImpl
- extends org.apache.ojb.broker.platforms.PlatformDefaultImpl
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Fields inherited from class org.apache.ojb.broker.platforms.PlatformDefaultImpl |
log, m_batchUpdatesChecked, m_supportsBatchUpdates |
Fields inherited from interface org.apache.ojb.broker.accesslayer.JoinSyntaxTypes |
ORACLE_JOIN_SYNTAX, SQL92_JOIN_SYNTAX, SQL92_NOPAREN_JOIN_SYNTAX, SYBASE_JOIN_SYNTAX |
Methods inherited from class org.apache.ojb.broker.platforms.PlatformDefaultImpl |
addBatch, afterStatementClose, afterStatementCreate, beforeBatch, beforeStatementClose, bindPagingParameters, bindPagingParametersFirst, changeAutoCommitState, checkForBatchSupport, createSequenceQuery, executeBatch, getConcatenationCharacter, initializeJdbcConnection, registerOutResultSet, setNullForStatement, supportsBatchOperations, supportsMultiColumnCountDistinct, useCountForResultsetSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformMySQLImpl
public PlatformMySQLImpl()
setObjectForStatement
public void setObjectForStatement(java.sql.PreparedStatement ps,
int index,
java.lang.Object value,
int sqlType)
throws java.sql.SQLException
- Specified by:
setObjectForStatement
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
setObjectForStatement
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
- Throws:
java.sql.SQLException
getJoinSyntaxType
public byte getJoinSyntaxType()
- Get join syntax type for this RDBMS - one on of the constants from
JoinSyntaxType interface
- Specified by:
getJoinSyntaxType
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
getJoinSyntaxType
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
getLastInsertIdentityQuery
public java.lang.String getLastInsertIdentityQuery(java.lang.String tableName)
- Specified by:
getLastInsertIdentityQuery
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
getLastInsertIdentityQuery
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
addPagingSql
public void addPagingSql(java.lang.StringBuffer anSqlString)
- Specified by:
addPagingSql
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
addPagingSql
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
createSequenceQuery
public java.lang.String createSequenceQuery(java.lang.String sequenceName)
- Specified by:
createSequenceQuery
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
createSequenceQuery
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
nextSequenceQuery
public java.lang.String nextSequenceQuery(java.lang.String sequenceName)
- Specified by:
nextSequenceQuery
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
nextSequenceQuery
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
dropSequenceQuery
public java.lang.String dropSequenceQuery(java.lang.String sequenceName)
- Specified by:
dropSequenceQuery
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
dropSequenceQuery
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
prepareNextValProcedureStatement
public java.sql.CallableStatement prepareNextValProcedureStatement(java.sql.Connection con,
java.lang.String procedureName,
java.lang.String sequenceName)
throws org.apache.ojb.broker.platforms.PlatformException
- Specified by:
prepareNextValProcedureStatement
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
prepareNextValProcedureStatement
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
- Throws:
org.apache.ojb.broker.platforms.PlatformException
supportsPaging
public boolean supportsPaging()
- Specified by:
supportsPaging
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
supportsPaging
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
concatenate
public java.lang.String concatenate(java.lang.String[] theColumns)
- Specified by:
concatenate
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
concatenate
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
- See Also:
Platform.concatenate(java.lang.String[])
getEscapeClause
public java.lang.String getEscapeClause(org.apache.ojb.broker.query.LikeCriteria aCriteria)
- Specified by:
getEscapeClause
in interface org.apache.ojb.broker.platforms.Platform
- Overrides:
getEscapeClause
in class org.apache.ojb.broker.platforms.PlatformDefaultImpl
- See Also:
Platform.getEscapeClause(org.apache.ojb.broker.query.LikeCriteria)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.