When sequence table does not exist and mutliple threads get EntityManagers from EntityManageFactory, an insert into sequence table may fail because of duplicate primary key value.
EMF is created lazily by default and users reported various problems with concurrent initialization (e.g. failures in resolving aliases in JPQL queries, IIRC) of EMF. This issue might have the same roots.
Issue and test case originally reported by Pinaki in
|Assignee||Michael Dick [ mikedd ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||2.0.2 [ 12315257 ]|
|Fix Version/s||2.1.0 [ 12314542 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|