create table test_simple (
         uuid varchar(36) not null,
         content clob,
+        created timestamp,
         externalid varchar(148),
         sources varchar(255),
         primary key (uuid)
 
     create table test_simple (
         uuid varchar2(36 char) not null,
         content clob,
+        created timestamp,
         externalid varchar2(148 char),
         sources varchar2(255 char),
         primary key (uuid)
 
       <artifactId>hibernate-core</artifactId>
       <version>4.3.0.Final</version>
     </dependency>
+    <dependency>
+      <groupId>org.jadira.usertype</groupId>
+      <artifactId>usertype.jodatime</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>joda-time</groupId>
+      <artifactId>joda-time</artifactId>
+      <version>2.7</version>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
 
     create table test_simple (
         uuid varchar(36) not null,
         content text,
+        created timestamp,
         externalid varchar(148),
         sources varchar(255),
         primary key (uuid)
 
 import javax.persistence.Table;
 
 import org.hibernate.annotations.Index;
+import org.hibernate.annotations.Type;
+import org.joda.time.DateTime;
 
 @Entity
 @Table(name = "test_simple")
 
     @Column(name = "externalid", length=148)
     private String externalXyzId;
+
+    @Type(type = "joda")
+    private DateTime created;
 }
 
--- /dev/null
+@org.hibernate.annotations.TypeDef(name = "joda", typeClass = org.jadira.usertype.dateandtime.joda.PersistentDateTime.class)
+package de.juplo.plugins.hibernate4.tests;