Package nxt.db
Interface FilteredFactory
-
public interface FilteredFactory
Create Statement and PrepareStatement for use with FilteredConnection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.sql.PreparedStatement
createPreparedStatement(java.sql.PreparedStatement stmt, java.lang.String sql)
Create a FilteredPreparedStatement for the supplied PreparedStatementjava.sql.Statement
createStatement(java.sql.Statement stmt)
Create a FilteredStatement for the supplied Statement
-
-
-
Method Detail
-
createStatement
java.sql.Statement createStatement(java.sql.Statement stmt)
Create a FilteredStatement for the supplied Statement- Parameters:
stmt
- Statement- Returns:
- Wrapped statement
-
createPreparedStatement
java.sql.PreparedStatement createPreparedStatement(java.sql.PreparedStatement stmt, java.lang.String sql)
Create a FilteredPreparedStatement for the supplied PreparedStatement- Parameters:
stmt
- Prepared statementsql
- SQL statement- Returns:
- Wrapped prepared statement
-
-