Better handling for UserTypes in hibernate
Maybe there is a better way now to use UserTypes. I got the idea when reading
"This, however, has negative side-effects because new Hibernate 4 features are not present while running hbm2ddl.
Thanks to the new data type auto-registration in Hibernate 4 (put to work by Usertype for Joda Time data types) we were able to remove all @Type(type = "org.jadira.usertype.dateandtime.joda.PersistentDateTime") annotations from our entities. Now while running hbm2ddl in Maven "works" the generated schema doesn't contain proper data type declarations because Hibernate 3.6 doesn't know about Joda Time."
We should check this.