You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pp...@apache.org on 2007/01/04 18:19:34 UTC

svn commit: r492645 - /incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java

Author: ppoddar
Date: Thu Jan  4 09:19:33 2007
New Revision: 492645

URL: http://svn.apache.org/viewvc?view=rev&rev=492645
Log:
Ignore "Id" property while reporting unrecognized configuration properties.


Modified:
    incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java

Modified: incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java?view=diff&rev=492645&r1=492644&r2=492645
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java (original)
+++ incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java Thu Jan  4 09:19:33 2007
@@ -633,7 +633,8 @@
         // <prefix>.properties System property; remove that property so we
         // we don't warn about it
         Configurations.removeProperty("properties", remaining);
-
+        Configurations.removeProperty("Id", remaining);
+        
         // now warn if there are any remaining properties that there
         // is an unhandled prop
         Map.Entry entry;