[
https://issues.apache.org/jira/browse/OPENJPA-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742479#comment-13742479
]
ASF subversion and git services commented on OPENJPA-2421:
----------------------------------------------------------
Commit 1514829 from [[email protected]] in branch 'openjpa/trunk'
[ https://svn.apache.org/r1514829 ]
OPENJPA-2421: Correct a bug on FinderTargetPolicy
> Slices: Can't setting up FinderTargetPolicy
> -------------------------------------------
>
> Key: OPENJPA-2421
> URL: https://issues.apache.org/jira/browse/OPENJPA-2421
> Project: OpenJPA
> Issue Type: Bug
> Components: slice
> Affects Versions: 2.3.0, 2.2.2
> Environment: Jdk 7 on mac
> Reporter: Jingsi Liu
>
> @openjpa-slice/src/main/java/org/apache/openjpa/slice/jdbc/DistributedJDBCConfigurationImpl.java
> public FinderTargetPolicy getFinderTargetPolicyInstance() {
> if (finderTargetPolicyPlugin.get() == null) {
> finderTargetPolicyPlugin.instantiate(ReplicationPolicy.class,
> this, true);
> }
> return (FinderTargetPolicy) finderTargetPolicyPlugin.get();
> }
> try to init the FinderTargetPolicy with ReplicationPolicy.class
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira