hibernate3 calendar_date adds time with jdk 1.8

52 Views Asked by At

When we upgraded from weblogic 9c(JDK 1.5) to weblogic 12c(JDK 1.8), hibernate type calendar_date is adding time to the field. Except weblogic version nothing else has changed. In weblogic 9c the same column is getting populated with only Date(with out time), but in weblogic 12c column is getting populated with Date along with Time. Could some one guide me in right direction?

<property name="hireDate" column="hire_date" type="calendar_date"/>

weblogic 9c

hire_date = 05/15/2017

weblogic 12c

hire_date = 05/15/2017 08:22:36
0

There are 0 best solutions below