T
- The type of the queried objectprotected class JdbcUserDirectory.SelectUserJdbcQueryExecutor<T> extends JdbcUserDirectory.AbstractJdbcQueryExecutor<T>
Modifier | Constructor and Description |
---|---|
protected |
SelectUserJdbcQueryExecutor(String login)
The constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
getSqlQuery(Connection connection)
Must return the SQL query to execute
|
protected PreparedStatement |
prepareStatement(Connection connection,
String sql)
Prepare the statement to execute
|
executeQuery, processResultSet, run, runWithException
protected SelectUserJdbcQueryExecutor(String login)
login
- The user loginprotected String getSqlQuery(Connection connection)
JdbcUserDirectory.AbstractJdbcQueryExecutor
getSqlQuery
in class JdbcUserDirectory.AbstractJdbcQueryExecutor<T>
connection
- The pool connectionprotected PreparedStatement prepareStatement(Connection connection, String sql) throws SQLException
JdbcUserDirectory.AbstractJdbcQueryExecutor
prepareStatement
in class JdbcUserDirectory.AbstractJdbcQueryExecutor<T>
connection
- The pool connectionsql
- The SQL querySQLException
- If an SQL Exception occurs