Hello!
ObjectDB version 2.5.3_02.
I get internal exception when commiting update Date field (javax.persistence.TemporalType.DATE).
[ObjectDB 2.5.3_02] javax.persistence.RollbackException Failed to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at odbdatebugtestcase.DataManager.updatePersonsBirthday(DataManager.java:42) at odbdatebugtestcase.OdbDateBugTestCase.main(OdbDateBugTestCase.java:27) Caused by: com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException.java:236) at com.objectdb.o.IPW.ar(IPW.java:119) at com.objectdb.o.PGW.am(PGW.java:201) at com.objectdb.o.UPT.G(UPT.java:257) at com.objectdb.o.UPT.m(UPT.java:172) at com.objectdb.o.URT.m(URT.java:181) at com.objectdb.o.TSK.k(TSK.java:183) at com.objectdb.o.TSK.i(TSK.java:156) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.UTT.A(UTT.java:365) at com.objectdb.o.UTT.l(UTT.java:218) at com.objectdb.o.TSK.i(TSK.java:145) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.MST.Vc(MST.java:1315) at com.objectdb.o.WRA.Vc(WRA.java:372) at com.objectdb.o.WSM.Vc(WSM.java:183) at com.objectdb.o.OBM.bN(OBM.java:918) at com.objectdb.o.OBM.bL(OBM.java:823) at com.objectdb.o.OBM.bJ(OBM.java:729) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:287) ... 2 more
My test example attached
Here is my output:
run: Type not found exception - new database? Set new birthday:Sat Mar 01 12:38:39 MSK 1980 Set new birthday:Tue Mar 31 12:38:39 MSK 1981 Set new birthday:Wed Apr 01 13:38:39 MSD 1981 [ObjectDB 2.5.3_02] javax.persistence.RollbackException Failed to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at odbdatebugtestcase.DataManager.updatePersonsBirthday(DataManager.java:42) at odbdatebugtestcase.OdbDateBugTestCase.main(OdbDateBugTestCase.java:27) Caused by: com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException.java:236) at com.objectdb.o.IPW.ar(IPW.java:119) at com.objectdb.o.PGW.am(PGW.java:201) at com.objectdb.o.UPT.G(UPT.java:257) at com.objectdb.o.UPT.m(UPT.java:172) at com.objectdb.o.URT.m(URT.java:181) at com.objectdb.o.TSK.k(TSK.java:183) at com.objectdb.o.TSK.i(TSK.java:156) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.UTT.A(UTT.java:365) at com.objectdb.o.UTT.l(UTT.java:218) at com.objectdb.o.TSK.i(TSK.java:145) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.MST.Vc(MST.java:1315) at com.objectdb.o.WRA.Vc(WRA.java:372) at com.objectdb.o.WSM.Vc(WSM.java:183) at com.objectdb.o.OBM.bN(OBM.java:918) at com.objectdb.o.OBM.bL(OBM.java:823) at com.objectdb.o.OBM.bJ(OBM.java:729) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:287) ... 2 more
Best regards,
Alexander.