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;
}