From 868cc7bc4e27b145b561dcb1e9976497a080faa5 Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Wed, 13 Sep 2006 20:03:44 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443104 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/persistence/XMLPersistenceMetaDataParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java index fed7f4c65..c47b79c26 100644 --- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java +++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java @@ -837,9 +837,9 @@ public class XMLPersistenceMetaDataParser props = null; } else // plugin { - seq = null; clsName = Configurations.getClassName(seq); props = Configurations.getProperties(seq); + seq = null; } meta.setSequencePlugin(Configurations.getPlugin(clsName, props));