Replaced joda-time by Java 8's date time API. Replaced Hibernate's typedefs with JPA Converters