You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2013/08/16 20:18:49 UTC

[jira] [Resolved] (OPENJPA-2421) Slices: Can't setting up FinderTargetPolicy

     [ https://issues.apache.org/jira/browse/OPENJPA-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar resolved OPENJPA-2421.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0
    
> 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
>            Assignee: Pinaki Poddar
>             Fix For: 2.3.0
>
>
> @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