public class UserDAOHibernate extends EntityObjectDAOHibernate<User> implements UserDAO
logger| Constructor and Description |
|---|
UserDAOHibernate() |
| Modifier and Type | Method and Description |
|---|---|
User |
findByUsername(String username) |
Class<User> |
getPersistentClass()
All subclasses of HibernateDAO must implement this method for
HibernateDao.load(long) to
work correctly |
save, updatecurrentSession, load, remove, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, remove, updatepublic Class<User> getPersistentClass()
HibernateDaoHibernateDao.load(long) to
work correctlygetPersistentClass in class HibernateDao<User>public User findByUsername(String username) throws org.springframework.orm.ObjectRetrievalFailureException
findByUsername in interface UserDAOorg.springframework.orm.ObjectRetrievalFailureExceptionCopyright © 2024 Atlassian. All rights reserved.