T
- The type of the queried objectprotected class JdbcUserDirectory.SelectUserJdbcQueryExecutor<T> extends JdbcUserDirectory.AbstractJdbcQueryExecutor<T>
Modifier and Type | Field and Description |
---|---|
protected String |
_searchColumn
The search column
|
protected String |
_value
The user login
|
Modifier | Constructor and Description |
---|---|
protected |
SelectUserJdbcQueryExecutor(String value)
The constructor
|
protected |
SelectUserJdbcQueryExecutor(String value,
String searchColumn)
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 String _searchColumn
protected SelectUserJdbcQueryExecutor(String value)
value
- The strict value to search forprotected SelectUserJdbcQueryExecutor(String value, String searchColumn)
value
- The strict value to search forsearchColumn
- The name of search columnprotected 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