WIP: Site
[hibernate4-maven-plugin] / src / it / schemaexport-example / schemaexport-example-persistence-impl / src / main / java / de / test / schemaexport / persistence / dao / IDepartmentDAO.java
1 package de.test.schemaexport.persistence.dao;\r
2 \r
3 import javax.persistence.EntityManager;\r
4 import de.test.schemaexport.domain.Department;\r
5 \r
6 public interface IDepartmentDAO {\r
7 \r
8         Department findByID(EntityManager em, long id);\r
9 \r
10         Department createOrUpdate(EntityManager em, Department toCreate);\r
11 \r
12 }\r