Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.jdbc » kernel » [javadoc | source]
org.apache.openjpa.jdbc.kernel
public class: PreparedStatementManagerImpl [javadoc | source]
java.lang.Object
   org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl

All Implemented Interfaces:
    PreparedStatementManager

Direct Known Subclasses:
    BatchingPreparedStatementManagerImpl

Basic prepared statement manager implementation.
Field Summary
protected final  JDBCStore _store     
protected final  Connection _conn     
protected final  DBDictionary _dict     
protected final  Collection _exceptions     
Constructor:
 public PreparedStatementManagerImpl(JDBCStore store,
    Connection conn) 
    Constructor. Supply connection.
Method from org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl Summary:
executeUpdate,   flush,   flush,   flushAndUpdate,   flushInternal,   getExceptions,   prepareStatement
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl Detail:
 protected int executeUpdate(PreparedStatement stmnt,
    String sql,
    RowImpl row) throws SQLException 
    This method is to provide override for non-JDBC or JDBC-like implementation of executing update.
 public  void flush() 
 public  void flush(RowImpl row) 
 protected  void flushAndUpdate(RowImpl row) throws SQLException 
    Flush the given row immediately.
 protected  void flushInternal(RowImpl row) throws SQLException 
    Flush the given row.
 public Collection getExceptions() 
 protected PreparedStatement prepareStatement(String sql) throws SQLException 
    This method is to provide override for non-JDBC or JDBC-like implementation of preparing statement.