mirror of https://github.com/apache/openjpa.git
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:
parent
30345610fa
commit
868cc7bc4e
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue