@Deprecated
public interface XStatementManager
Currently only PingablePooledConnection
is implementing this interface.
Modifier and Type | Method and Description |
---|---|
org.firebirdsql.pool.XCachablePreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
boolean cached)
Deprecated.
|
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.
|
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.Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.