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

                 Key: OPENJPA-1258
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1258
             Project: OpenJPA
          Issue Type: Improvement
          Components: logging
    Affects Versions: 1.1.0
         Environment: Windows XP
java version "1.5.0_14"
            Reporter: Amy Yang
            Priority: Minor
         Attachments: OPENJPA1258.patch

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to