openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingsi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-2421) Slices: Can't setting up FinderTargetPolicy
Date Wed, 14 Aug 2013 10:46:47 GMT
Jingsi Liu created OPENJPA-2421:
-----------------------------------

             Summary: 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
         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

Mime
View raw message