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

make warning message more friendly when other persistence provider configured by application

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0, 1.3.0, 2.0.0-beta
    • logging
    • None
    • Windows XP
      java version "1.5.0_14"
    • Patch Available

    Description

      When application configures other persistence provider rather than openjpa, there will be a warning message printed out:
      WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.

      It is legal that other persistence provider be configured. The message doesn't look friendly and might be confusing.

      I change the message like:
      INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.

      Attachments

        1. OPENJPA1258.patch
          0.8 kB
          Amy Yang
        2. OPENJPA1258_trunk.patch
          0.8 kB
          Amy Yang

        Activity

          People

            Unassigned Unassigned
            amy Amy Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: