Re: ShoppingCart has very bad locking
Posted by
Adrian Crum-2 on
Mar 12, 2010; 11:59pm
URL: http://ofbiz.116.s1.nabble.com/ShoppingCart-has-very-bad-locking-tp1591136p1591305.html
--- On Fri, 3/12/10, Adrian Crum <
[hidden email]> wrote:
> Consistent random foreign key violations. Two records would
> get the same sequence number. Random in that different
> entities would be affected each time, and consistent in that
> it happens nearly every time.
>
> Try running five or more threads against it on a
> multi-processor machine.
Oops, maybe those were primary key violations. Bottom line is, an exception was thrown because two records got the same sequence ID.