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, update
currentSession, load, remove, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load, remove, update
public Class<User> getPersistentClass()
HibernateDao
HibernateDao.load(long)
to
work correctlygetPersistentClass
in class HibernateDao<User>
public User findByUsername(String username) throws org.springframework.orm.ObjectRetrievalFailureException
findByUsername
in interface UserDAO
org.springframework.orm.ObjectRetrievalFailureException
Copyright © 2020 Atlassian. All rights reserved.