About

Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.

Search
Tag Cloud
...
Login

Jadira Support > PersistentLocalTime

I noticed that implementation for PersistentLocalTime is different in 2.0.1 and the current 3.x release.
class TimeColumnLocalTimeMapper in 2.0.1 works fine. However, TimeColumnLocalTimeMapper in 3.0.x deals with calculating offset and adding and subtracting it when saving and reading via jdbc respectively. So when I store new LocalTime(22,10,10) using TimeColumnLocalTimeMapper in 3.0.x, it stores the time as 23:10:10 which is incorrect. This is reproducible when using javaZone and databaseZone values = "jvm"
If you need more details, let me know.

September 14, 2013 | Unregistered CommenterKetan

Please upgrade to the current 3.1.0.GA release which should address this issue.

March 11, 2014 | Registered CommenterChris