|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XStatementManager
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(String sql,
int resultSetType,
int resultSetConcurrency,
boolean cached)
Prepare specified SQL statement. |
void |
statementClosed(String statement,
Object proxy)
Notify about statement close. |
| Method Detail |
|---|
org.firebirdsql.pool.XCachablePreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
boolean cached)
throws 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.
SQLException - if something went wrong.Connection.prepareStatement(java.lang.String, int, int)
void statementClosed(String statement,
Object proxy)
throws SQLException
statement - SQL statement of an object that is being closed.proxy - proxy on which Statement.close() method was called.
SQLException - if something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||