Added integration-test provided by Guido Wimmel <Wimmel.Guido@swm.de>
[hibernate4-maven-plugin] / src / it / schemaexport-example / schemaexport-example-persistence-impl / src / main / java / de / test / schemaexport / persistence / dao / IEmployeeDAO.java
diff --git a/src/it/schemaexport-example/schemaexport-example-persistence-impl/src/main/java/de/test/schemaexport/persistence/dao/IEmployeeDAO.java b/src/it/schemaexport-example/schemaexport-example-persistence-impl/src/main/java/de/test/schemaexport/persistence/dao/IEmployeeDAO.java
new file mode 100644 (file)
index 0000000..28d5465
--- /dev/null
@@ -0,0 +1,13 @@
+package de.test.schemaexport.persistence.dao;\r
+\r
+import javax.persistence.EntityManager;\r
+\r
+import de.test.schemaexport.domain.Employee;\r
+\r
+public interface IEmployeeDAO {\r
+\r
+       Employee findByID(EntityManager em, long id);\r
+       \r
+       Employee createOrUpdate(EntityManager em, Employee toCreate);\r
+\r
+}\r