net.sf.easyweb4j.repository.orm
Interface ORMRepository<T>
- All Superinterfaces:
- Repository<T>
- All Known Implementing Classes:
- HibernateRepository, JPARepository
public interface ORMRepository<T>
- extends Repository<T>
find
T find(Serializable id)
find
T find(Serializable id,
boolean lock)
findAll
List<T> findAll()
persist
void persist(T model)
merge
T merge(T model)
remove
void remove(T model)
persist
void persist(T... models)
merge
List<T> merge(T... models)
remove
void remove(T... models)
persist
void persist(Collection<T> models)
merge
List<T> merge(Collection<T> models)
remove
void remove(Collection<T> models)
Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.