org.apache.ojb.broker.platforms
Class PlatformMsAccessImpl
java.lang.Object
org.apache.ojb.broker.platforms.PlatformDefaultImpl
org.apache.ojb.broker.platforms.PlatformMsAccessImpl
- All Implemented Interfaces:
- JoinSyntaxTypes, Platform
- public class PlatformMsAccessImpl
- extends PlatformDefaultImpl
- Version:
- $Id: PlatformMsAccessImpl.java,v 1.11 2004/04/04 23:53:35 brianm Exp $
- Author:
- Jakob Braeuchi
Method Summary |
void |
beforeStatementClose(java.sql.Statement stmt,
java.sql.ResultSet rs)
Called by StatementManager implementation
before invoke stmt.close() method. |
java.lang.String |
getEscapeClause(LikeCriteria aCriteria)
Answer the Clause used Escape wildcards in LIKE |
void |
setObjectForStatement(java.sql.PreparedStatement ps,
int index,
java.lang.Object value,
int sqlType)
some JDBC-Drivers do not support all sqlTypes
this callback is used set parameters to a PreparedStatement |
Methods inherited from class org.apache.ojb.broker.platforms.PlatformDefaultImpl |
addBatch, addPagingSql, afterStatementClose, afterStatementCreate, beforeBatch, bindPagingParameters, bindPagingParametersFirst, changeAutoCommitState, concatenate, createSequenceQuery, dropSequenceQuery, executeBatch, getJoinSyntaxType, getLastInsertIdentityQuery, initializeJdbcConnection, nextSequenceQuery, prepareNextValProcedureStatement, setNullForStatement, supportsBatchOperations, supportsPaging, useCountForResultsetSize |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformMsAccessImpl
public PlatformMsAccessImpl()
setObjectForStatement
public void setObjectForStatement(java.sql.PreparedStatement ps,
int index,
java.lang.Object value,
int sqlType)
throws java.sql.SQLException
- Description copied from interface:
Platform
- some JDBC-Drivers do not support all sqlTypes
this callback is used set parameters to a PreparedStatement
- Specified by:
setObjectForStatement
in interface Platform
- Overrides:
setObjectForStatement
in class PlatformDefaultImpl
- Throws:
java.sql.SQLException
- See Also:
Platform.setObjectForStatement(PreparedStatement, int, Object, int)
beforeStatementClose
public void beforeStatementClose(java.sql.Statement stmt,
java.sql.ResultSet rs)
throws PlatformException
- Description copied from interface:
Platform
- Called by
StatementManager
implementation
before invoke stmt.close() method.
- Specified by:
beforeStatementClose
in interface Platform
- Overrides:
beforeStatementClose
in class PlatformDefaultImpl
- Throws:
PlatformException
- See Also:
Platform.beforeStatementClose(Statement stmt, ResultSet rs)
getEscapeClause
public java.lang.String getEscapeClause(LikeCriteria aCriteria)
- Description copied from interface:
Platform
- Answer the Clause used Escape wildcards in LIKE
- Specified by:
getEscapeClause
in interface Platform
- Overrides:
getEscapeClause
in class PlatformDefaultImpl
- See Also:
Platform.getEscapeClause(org.apache.ojb.broker.query.LikeCriteria)
(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2