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
This commit is contained in:
Marc Prud'hommeaux 2006-09-13 20:03:44 +00:00
parent 30345610fa
commit 868cc7bc4e
1 changed files with 1 additions and 1 deletions

View File

@ -837,9 +837,9 @@ public class XMLPersistenceMetaDataParser
props = null; props = null;
} else // plugin } else // plugin
{ {
seq = null;
clsName = Configurations.getClassName(seq); clsName = Configurations.getClassName(seq);
props = Configurations.getProperties(seq); props = Configurations.getProperties(seq);
seq = null;
} }
meta.setSequencePlugin(Configurations.getPlugin(clsName, props)); meta.setSequencePlugin(Configurations.getPlugin(clsName, props));