Pawel Veselov created OPENJPA-2749:
--------------------------------------
Summary: Broker can be used with mappings not synchronized
Key: OPENJPA-2749
URL: https://issues.apache.org/jira/browse/OPENJPA-2749
Project: OpenJPA
Issue Type: Bug
Components: jpa
Affects Versions: 2.4.2
Reporter: Pawel Veselov
If mapping synchronization fails once, then the next time creating a broker is
attempted, it simply succeeds. This means running broker over problematic
mappings, which is probably not cool.
JDBCBrokerFactory.newBrokerImpl(String, String) sets the
"_synchronizedMappings" to true before calling the implementation, causing
this. Setting the flag to true should be moved past the actual initialization
call.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)