Added an integration-test, that depends on properties from a persistence.xml
[hibernate4-maven-plugin] / src / it / h4mp-mod / src / main / java / h4mp / MainEntity.java
diff --git a/src/it/h4mp-mod/src/main/java/h4mp/MainEntity.java b/src/it/h4mp-mod/src/main/java/h4mp/MainEntity.java
new file mode 100644 (file)
index 0000000..4e2dbb7
--- /dev/null
@@ -0,0 +1,17 @@
+package h4mp;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+
+import org.hibernate.envers.Audited;
+
+@Entity
+@Audited
+public class MainEntity {
+       @Id
+       @GeneratedValue
+       long id;
+
+       String str;
+}