org.apache.ojb.broker.platforms
Class PlatformDerbyImpl
java.lang.Object
org.apache.ojb.broker.platforms.PlatformDefaultImpl
org.apache.ojb.broker.platforms.PlatformDerbyImpl
- All Implemented Interfaces:
- JoinSyntaxTypes, Platform
- public class PlatformDerbyImpl
- extends PlatformDefaultImpl
This class defines specific behavior for the Derby platform.
Methods inherited from class org.apache.ojb.broker.platforms.PlatformDefaultImpl |
addBatch, addPagingSql, afterStatementClose, afterStatementCreate, beforeBatch, beforeStatementClose, bindPagingParameters, bindPagingParametersFirst, changeAutoCommitState, concatenate, createSequenceQuery, createSequenceQuery, dropSequenceQuery, executeBatch, getEscapeClause, initializeJdbcConnection, nextSequenceQuery, prepareNextValProcedureStatement, registerOutResultSet, setNullForStatement, supportsBatchOperations, supportsPaging, useCountForResultsetSize |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformDerbyImpl
public PlatformDerbyImpl()
getJoinSyntaxType
public byte getJoinSyntaxType()
- Get join syntax type for this RDBMS - one on of the constants from JoinSyntaxType interface
- Specified by:
getJoinSyntaxType
in interface Platform
- Overrides:
getJoinSyntaxType
in class PlatformDefaultImpl
- See Also:
Platform.getJoinSyntaxType()
supportsMultiColumnCountDistinct
public boolean supportsMultiColumnCountDistinct()
- Whether the platform supports a COUNT DISTINCT across multiple columns.
- Specified by:
supportsMultiColumnCountDistinct
in interface Platform
- Overrides:
supportsMultiColumnCountDistinct
in class PlatformDefaultImpl
setObjectForStatement
public void setObjectForStatement(java.sql.PreparedStatement ps,
int index,
java.lang.Object value,
int jdbcType)
throws java.sql.SQLException
-
- Specified by:
setObjectForStatement
in interface Platform
- Overrides:
setObjectForStatement
in class PlatformDefaultImpl
- Throws:
java.sql.SQLException
getLastInsertIdentityQuery
public java.lang.String getLastInsertIdentityQuery(java.lang.String tableName)
-
- Specified by:
getLastInsertIdentityQuery
in interface Platform
- Overrides:
getLastInsertIdentityQuery
in class PlatformDefaultImpl
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30