]
David virgil naranjo resolved ARTIF-760.
----------------------------------------
Resolution: Done
Init DDL called several times by different threads
--------------------------------------------------
Key: ARTIF-760
URL:
https://issues.jboss.org/browse/ARTIF-760
Project: Artificer
Issue Type: Bug
Reporter: David virgil naranjo
Assignee: David virgil naranjo
When the initDDL is called in the Artifacts page, then it is called the getStoredQueries
from different threads.
It makes that the entityManager() method is called at the same time(more or less) by 2
different threads and the initDDLs is called by the 2 threads. One of them execute
correctly the DDL script but the other fails:
https://gist.github.com/dvirgiln/5b42bf372254ac400ba5