Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2749

Broker can be used with mappings not synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.2
    • None
    • jpa
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pveselov Pawel Veselov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: