Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface BaseRepository<T, ID extends Serializable> extends Repository<T, ID> {
- <S extends T> S save(S entity);
- T findOne(ID primaryKey);
- Iterable<T> findAll();
- Long count();
- void delete(T entity);
- boolean exists(ID primaryKey);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement