Extended integration-test "hib-test" to check for package-level annotations
[hibernate4-maven-plugin] / src / it / hib-test / src / main / java / de / juplo / plugins / hibernate4 / tests / SimplestMavenHib4Test.java
index 3a3f565..3e64747 100644 (file)
@@ -7,6 +7,8 @@ import javax.persistence.Lob;
 import javax.persistence.Table;
 
 import org.hibernate.annotations.Index;
+import org.hibernate.annotations.Type;
+import org.joda.time.DateTime;
 
 @Entity
 @Table(name = "test_simple")
@@ -29,4 +31,7 @@ public class SimplestMavenHib4Test {
 
     @Column(name = "externalid", length=148)
     private String externalXyzId;
+
+    @Type(type = "joda")
+    private DateTime created;
 }