@Component(value="userVertificationDao") public class UserVerificationDAO extends Object
| Constructor and Description |
|---|
UserVerificationDAO() |
| Modifier and Type | Method and Description |
|---|---|
long |
countAll() |
boolean |
delete(UserVerification userVerification) |
long |
executeCount(String sql) |
long |
executeCount(String sql,
Statement.Initializer init) |
protected List<UserVerification> |
executeQuery(String sql) |
protected List<UserVerification> |
executeQuery(String sql,
Statement.Initializer init) |
protected int |
executeUpdate(String sql,
Statement.Initializer init) |
List<UserVerification> |
fetchAll() |
UserVerification |
fetchByDate(String date) |
UserVerification |
fetchById(int id) |
UserVerification |
fetchByUsername(String username) |
UserVerification |
fetchByVerificationCode(String verificationCode) |
protected UserVerification |
fromResultSet(ResultSet set) |
DataSourceConnector |
getDataSourceConnector() |
boolean |
insert(UserVerification userVerification) |
void |
setDataSourceConnector(DataSourceConnector dataSourceConnector) |
boolean |
update(UserVerification userVerification) |
public List<UserVerification> fetchAll() throws SQLException
SQLExceptionpublic UserVerification fetchById(int id) throws SQLException
SQLExceptionpublic UserVerification fetchByUsername(String username) throws SQLException
SQLExceptionpublic UserVerification fetchByVerificationCode(String verificationCode) throws SQLException
SQLExceptionpublic UserVerification fetchByDate(String date) throws SQLException
SQLExceptionpublic long countAll()
throws SQLException
SQLExceptionpublic boolean insert(UserVerification userVerification) throws SQLException
SQLExceptionpublic boolean delete(UserVerification userVerification) throws SQLException
SQLExceptionpublic boolean update(UserVerification userVerification) throws SQLException
SQLExceptionprotected UserVerification fromResultSet(ResultSet set) throws SQLException
SQLExceptionprotected int executeUpdate(String sql, Statement.Initializer init) throws SQLException
SQLExceptionprotected List<UserVerification> executeQuery(String sql, Statement.Initializer init) throws SQLException
SQLExceptionprotected List<UserVerification> executeQuery(String sql) throws SQLException
SQLExceptionpublic long executeCount(String sql) throws SQLException
SQLExceptionpublic long executeCount(String sql, Statement.Initializer init) throws SQLException
SQLExceptionpublic DataSourceConnector getDataSourceConnector()
public void setDataSourceConnector(DataSourceConnector dataSourceConnector)
Copyright © 2026. All rights reserved.