OpenJPA
  1. OpenJPA
  2. OPENJPA-1258

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1, 1.3.0, 2.0.0-beta
    • Component/s: logging
    • Labels:
      None
    • Environment:
      Windows XP
      java version "1.5.0_14"
    • Patch Info:
      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.

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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Amy Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development