openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1551449 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
Date Tue, 17 Dec 2013 02:43:23 GMT
Author: curtisr7
Date: Tue Dec 17 02:43:23 2013
New Revision: 1551449

URL: http://svn.apache.org/r1551449
Log:
OPENJPA-2463 : Change message from error to warning.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java?rev=1551449&r1=1551448&r2=1551449&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
Tue Dec 17 02:43:23 2013
@@ -1181,7 +1181,7 @@ public class PCEnhancer { 
             }
             
             if (_meta.isEmbeddedOnly() && _meta.getIdentityType() == ClassMetaData.ID_APPLICATION)
{
-                _log.error(_loc.get("ID-field-in-embeddable-unsupported", _meta.toString()));
+                _log.warn(_loc.get("ID-field-in-embeddable-unsupported", _meta.toString()));
             }
             
             addNewObjectIdInstanceMethod(true);



Mime
View raw message