mirror of https://github.com/apache/openjpa.git
OPENJPA-2421: Correct a bug on FinderTargetPolicy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1514829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0aed173d4f
commit
2841d18dda
|
@ -284,7 +284,7 @@ public class DistributedJDBCConfigurationImpl extends JDBCConfigurationImpl
|
|||
|
||||
public FinderTargetPolicy getFinderTargetPolicyInstance() {
|
||||
if (finderTargetPolicyPlugin.get() == null) {
|
||||
finderTargetPolicyPlugin.instantiate(ReplicationPolicy.class,
|
||||
finderTargetPolicyPlugin.instantiate(FinderTargetPolicy.class,
|
||||
this, true);
|
||||
}
|
||||
return (FinderTargetPolicy) finderTargetPolicyPlugin.get();
|
||||
|
|
Loading…
Reference in New Issue