Files
ofbiz-framework/framework
Jacques Le Roux ef296bb420 A patch from Adrian Crum "ServerHit aborts transactions when trying to create entries with duplicate startTime(s)." (https://issues.apache.org/jira/browse/OFBIZ-2208) - OFBIZ-2208
This add synchronization for ServerHit entities creation. Hence startTime is no longer used. 
I have also removed some comment about the problem, and added one for startTime no longer used.

Note: If synchronization proves to slow down sites we could introduce a properties in serverstats.properties to switch from using it or not since I did not remove startTime from the method signature
Then we will use one or the other lines
-            serverHit.set("hitStartDateTime", new java.sql.Timestamp(startTime));
+            serverHit.set("hitStartDateTime", getNowTimestamp());


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887916 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 13:00:09 +00:00
..
2009-12-05 11:35:20 +00:00
2009-12-06 22:27:36 +00:00
2009-12-03 15:29:57 +00:00