FYI - I'm getting a test failure of DDDSample in trunk:
I checked revision 7832 "CSC-686: Bug in complex query for findByCondition. Applied patch from Pavel"
and it has the error.
I'm not getting the error in the following revision:
Revision 7799 : Changed version number to 2.2.0-SNAPSHOT
So it seems it's somewhere between those two commits.
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.279 sec <<< FAILURE!
testFindByCargoId(org.sculptor.dddsample.cargo.domain.CargoRepositoryTest) Time elapsed: 0.215 sec <<< FAILURE!
java.lang.AssertionError: expected:<2008-01-05T05:00:00.000-06:00> but was:<2008-01-04T22:00:00.000-06:00>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:145)
at org.sculptor.dddsample.cargo.domain.CargoRepositoryTest.assertHandlingEvent(CargoRepositoryTest.java:123)
at org.sculptor.dddsample.cargo.domain.CargoRepositoryTest.testFindByCargoId(CargoRepositoryTest.java:96)