You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2016/12/20 13:31:58 UTC

[jira] [Created] (METAMODEL-1133) PojoDataContext is not thread-safe

Kasper Sørensen created METAMODEL-1133:
------------------------------------------

             Summary: PojoDataContext is not thread-safe
                 Key: METAMODEL-1133
                 URL: https://issues.apache.org/jira/browse/METAMODEL-1133
             Project: Apache MetaModel
          Issue Type: Bug
            Reporter: Kasper Sørensen


I am using PojoDataContext in a test case for my application, but getting ConcurrentModificationExceptions because the test case is relying on INSERTs in a background thread and queries in the main thread. This is a type of scenario that I believe we should be able to cater to by using smarter collection types internally in PojoDataContext.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)