]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/dao/GenericDAO.java
[3.3] first part.
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / dao / GenericDAO.java
1 package dst.ass1.jpa.dao;
2
3 import java.util.List;
4
5 public interface GenericDAO<T> {
6     T findById(Long id);
7
8     List<T> findAll();
9 }