خرید بک لینک

Vote count: 0

As timestamp to zoned-date-time conversion is not implicitly supported I am following this tutorial to manually handle it.

java 8 LocalDateTime and Hibeate 4

I created this class and added @Type(type="com.cisco.ci.support.utils.ZonedDateAndTimeUserDefined") private ZonedDateTime myDateVariable;

in my model class. I am under assumption that while reading from db the getter-setter of this new class methods -> nullSafeSet and nullSafeGet will be auto called before my model getter-setters are called.

Am I right?

Also I am still getting exception that it is unable to convert timestamp -> Zoned-date-and-time.

Please let me know if I am missing out on something.

asked 41 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 18 تير 1395 ساعت: 22:16

صفحه بندی