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.9 2004/02/21 21:45:47 brj 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. |
protected java.lang.String |
getConcatenationCharacter()
Answer the Character for Concatenation |
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, checkForBatchSupport, concatenate, createSequenceQuery, dropSequenceQuery, executeBatch, getJoinSyntaxType, getLastInsertIdentityQuery, initializeJdbcConnection, nextSequenceQuery, prepareNextValProcedureStatement, setNullForStatement, supportsBatchOperations, supportsPaging, useCountForResultsetSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, 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)
getConcatenationCharacter
protected java.lang.String getConcatenationCharacter()
- Answer the Character for Concatenation
- Overrides:
getConcatenationCharacter
in class PlatformDefaultImpl
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)
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14