Apparently adding useJDBCCompliantTimezoneShift=true on the mysql connector URL fixes it.
On Tue, Jul 2, 2013 at 5:07 PM, Paul Gale <paul.n.g...@gmail.com> wrote: > Hi, > > When setting this value to 1000, say, on a lease database locker I've > noticed that the method determineTimeDifference always reports that > our MySQL database server is four hours ahead. They're not. > > Is this a bug or does the mysql jdbc driver need to be configured some > particular way to make it time zone aware? > > Regardless, there's no unit test that exercises this method. > > Thanks, > Paul