Package nxt.db
Interface FilteredFactory
public interface FilteredFactory
Create Statement and PrepareStatement for use with FilteredConnection
-
Method Summary
Modifier and TypeMethodDescriptioncreatePreparedStatement(FilteredConnection con, PreparedStatement stmt, String sql) Create a FilteredPreparedStatement for the supplied PreparedStatementcreateStatement(FilteredConnection con, Statement stmt) Create a FilteredStatement for the supplied Statement
-
Method Details
-
createStatement
Create a FilteredStatement for the supplied Statement- Parameters:
stmt- Statementcon- Connection- Returns:
- Wrapped statement
- Throws:
SQLException- SQLException
-
createPreparedStatement
PreparedStatement createPreparedStatement(FilteredConnection con, PreparedStatement stmt, String sql) throws SQLException Create a FilteredPreparedStatement for the supplied PreparedStatement- Parameters:
stmt- Prepared statementsql- SQL statementcon- Connection- Returns:
- Wrapped prepared statement
- Throws:
SQLException- SQLException
-