|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl
public class PreparedStatementManagerImpl
Basic prepared statement manager implementation.
Field Summary | |
---|---|
protected Connection |
_conn
|
protected DBDictionary |
_dict
|
protected Collection |
_exceptions
|
protected JDBCStore |
_store
|
Constructor Summary | |
---|---|
PreparedStatementManagerImpl(JDBCStore store,
Connection conn)
Constructor. |
Method Summary | |
---|---|
void |
flush()
This method must be called after the last row has been flushed, to flush any remaining statements. |
void |
flush(RowImpl row)
Flush the given row. |
protected void |
flushInternal(RowImpl row)
Flush the given row. |
Collection |
getExceptions()
Return the exceptions encountered during all flushes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final JDBCStore _store
protected final Connection _conn
protected final DBDictionary _dict
protected final Collection _exceptions
Constructor Detail |
---|
public PreparedStatementManagerImpl(JDBCStore store, Connection conn)
Method Detail |
---|
public Collection getExceptions()
PreparedStatementManager
getExceptions
in interface PreparedStatementManager
public void flush(RowImpl row)
PreparedStatementManager
flush
in interface PreparedStatementManager
protected void flushInternal(RowImpl row) throws SQLException
SQLException
public void flush()
PreparedStatementManager
flush
in interface PreparedStatementManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |