Added DAO pattern.

This commit is contained in:
Ilkka Seppala
2015-04-12 23:49:00 +03:00
parent 33566805ee
commit 0bded40738
9 changed files with 253 additions and 1 deletions

View File

@ -0,0 +1,24 @@
package com.iluwatar;
public abstract class DaoBase<E extends BaseEntity> {
E find(Long id) {
}
void persist(E e) {
}
E merge(E e) {
}
void remove(E e) {
}
List<E> findAll() {
}
}