|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manager of prepared statement. This interface defines an entity that is able to prepare SQL statements. Also this instance is notified when statement is closed.
Currently only PingablePooledConnection
is implementing this interface.
Method Summary | |
org.firebirdsql.pool.XCachablePreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
boolean cached)
Prepare specified SQL statement. |
void |
statementClosed(java.lang.String statement,
java.lang.Object proxy)
Notify about statement close. |
Method Detail |
public org.firebirdsql.pool.XCachablePreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, boolean cached) throws java.sql.SQLException
Connection.prepareStatement(String)
method on physical JDBC
connection.
sql
- SQL statement to prepare.resultSetType
- type of result setresultSetConcurrency
- result set concurrencycached
- true
if prepared statement will be cached.
PreparedStatement
corresponding to the
specified SQL statement.
java.sql.SQLException
- if something went wrong.Connection.prepareStatement(java.lang.String, int, int)
public void statementClosed(java.lang.String statement, java.lang.Object proxy) throws java.sql.SQLException
statement
- SQL statement of an object that is being closed.proxy
- proxy on which Statement.close()
method was called.
java.sql.SQLException
- if something went wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |