|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated 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(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
boolean cached)
Deprecated. use prepareStatement(XPreparedStatementModel, boolean)
intead. |
org.firebirdsql.pool.XCachablePreparedStatement |
prepareStatement(XPreparedStatementModel key,
boolean cached)
Deprecated. Prepare specified SQL statement. |
void |
statementClosed(java.lang.String statement,
java.lang.Object proxy)
Deprecated. |
void |
statementClosed(XPreparedStatementModel key,
java.lang.Object proxy)
Deprecated. Notify about statement close. |
Method Detail |
---|
org.firebirdsql.pool.XCachablePreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, boolean cached) throws java.sql.SQLException
prepareStatement(XPreparedStatementModel, boolean)
intead.
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)
org.firebirdsql.pool.XCachablePreparedStatement prepareStatement(XPreparedStatementModel key, boolean cached) throws java.sql.SQLException
Connection.prepareStatement(String)
method on physical JDBC
connection.
key
- instance of XPreparedStatementModel
containing all needed
information to prepare a statement.cached
- 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, int)
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.void statementClosed(XPreparedStatementModel key, java.lang.Object proxy) throws java.sql.SQLException
key
- Key of the SQL statement that was 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 |