openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r443104 - /incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
Date Wed, 13 Sep 2006 20:03:45 GMT
Author: mprudhom
Date: Wed Sep 13 13:03:44 2006
New Revision: 443104

URL: http://svn.apache.org/viewvc?view=rev&rev=443104
Log:
Moved nulling of sequence name to after the check and configuration of the plugin, since it
was preventing using a custom sequence plugin from working when specified in the sequence
name.

Modified:
    incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java

Modified: incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java?view=diff&rev=443104&r1=443103&r2=443104
==============================================================================
--- incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
(original)
+++ incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
Wed Sep 13 13:03:44 2006
@@ -837,9 +837,9 @@
             props = null;
         } else // plugin
         {
-            seq = null;
             clsName = Configurations.getClassName(seq);
             props = Configurations.getProperties(seq);
+            seq = null;
         }
 
         meta.setSequencePlugin(Configurations.getPlugin(clsName, props));



Mime
View raw message