openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amy Yang (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1258) make warning message more friendly when other persistence provider configured by application
Date Fri, 21 Aug 2009 03:11:14 GMT
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.


Mime
View raw message