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

Throw exception if using datacache / synchronize mappings and specifying datasource name at EM creation.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • None
    • None

    Description

      Some configuration options are misleading and dangerous if the datasource JNDI location is provided at EntityManager creation time. For example the L2 cache can not be reliably used if each EntityManager may be communicating with a different schema / database instance.

      In order to prevent confusion down the road we should throw an exception when these conditions are detected.

      Attachments

        Issue Links

          Activity

            People

              mikedd Michael Dick
              mikedd Michael Dick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: