diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java index d00a68bf6..7b4fd95af 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java @@ -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);