openjpa-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=443103
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/AnnotationPersistenceMetaDataParser.java

Modified: incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java?view=diff&rev=443103&r1=443102&r2=443103
==============================================================================
--- incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
(original)
+++ incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
Wed Sep 13 13:03:39 2006
@@ -1461,9 +1461,9 @@
             props = null;
         } else if (seq.indexOf('(') != -1) // plugin
         {
-            seq = null;
             clsName = Configurations.getClassName(seq);
             props = Configurations.getProperties(seq);
+            seq = null;
         } else {
             clsName = SequenceMetaData.IMPL_NATIVE;
             props = null;



Mime
View raw message