org.apache.ojb.broker.accesslayer
Class SQLCachingStatementsForClass
java.lang.Object
org.apache.ojb.broker.accesslayer.StatementsForClassImpl
org.apache.ojb.broker.accesslayer.SQLCachingStatementsForClass
- All Implemented Interfaces:
- StatementsForClassIF
- public class SQLCachingStatementsForClass
- extends StatementsForClassImpl
- Version:
- $Id: SQLCachingStatementsForClass.java,v 1.10 2003/12/12 19:17:58 thma Exp $
Method Summary |
java.sql.PreparedStatement |
getDeleteStmt(java.sql.Connection con)
returns the DELETE Statement used for clazz. |
java.sql.PreparedStatement |
getInsertStmt(java.sql.Connection con)
returns the INSERT Statement used for clazz. |
java.sql.PreparedStatement |
getSelectByPKStmt(java.sql.Connection con)
returns the SELECT Statement used for clazz. |
java.sql.PreparedStatement |
getUpdateStmt(java.sql.Connection con)
returns the UPDATE Statement used for clazz. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLCachingStatementsForClass
public SQLCachingStatementsForClass(JdbcConnectionDescriptor jcd,
ClassDescriptor mif)
getDeleteStmt
public java.sql.PreparedStatement getDeleteStmt(java.sql.Connection con)
throws java.sql.SQLException
- Description copied from interface:
StatementsForClassIF
- returns the DELETE Statement used for clazz.
- Specified by:
getDeleteStmt
in interface StatementsForClassIF
- Overrides:
getDeleteStmt
in class StatementsForClassImpl
- Throws:
java.sql.SQLException
getInsertStmt
public java.sql.PreparedStatement getInsertStmt(java.sql.Connection con)
throws java.sql.SQLException
- Description copied from interface:
StatementsForClassIF
- returns the INSERT Statement used for clazz.
- Specified by:
getInsertStmt
in interface StatementsForClassIF
- Overrides:
getInsertStmt
in class StatementsForClassImpl
- Throws:
java.sql.SQLException
getSelectByPKStmt
public java.sql.PreparedStatement getSelectByPKStmt(java.sql.Connection con)
throws java.sql.SQLException
- Description copied from interface:
StatementsForClassIF
- returns the SELECT Statement used for clazz.
- Specified by:
getSelectByPKStmt
in interface StatementsForClassIF
- Overrides:
getSelectByPKStmt
in class StatementsForClassImpl
- Throws:
java.sql.SQLException
getUpdateStmt
public java.sql.PreparedStatement getUpdateStmt(java.sql.Connection con)
throws java.sql.SQLException
- Description copied from interface:
StatementsForClassIF
- returns the UPDATE Statement used for clazz.
- Specified by:
getUpdateStmt
in interface StatementsForClassIF
- Overrides:
getUpdateStmt
in class StatementsForClassImpl
- Throws:
java.sql.SQLException
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