public class PersonDAO extends AbstractDAO<Person>
Constructor and Description |
---|
PersonDAO(org.hibernate.SessionFactory factory) |
Modifier and Type | Method and Description |
---|---|
Person |
create(Person person) |
List<Person> |
findAll() |
Optional<Person> |
findById(Long id) |
criteria, criteriaQuery, currentSession, get, getEntityClass, initialize, list, list, list, namedQuery, namedTypedQuery, persist, query, uniqueResult, uniqueResult, uniqueResult
Copyright © 2011. All rights reserved.