Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2421

Slices: Can't setting up FinderTargetPolicy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2, 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: slice
    • Labels:
      None
    • Environment:
      Jdk 7 on mac

      Description

      @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

        Attachments

          Activity

            People

            • Assignee:
              ppoddar@apache.org Pinaki Poddar
              Reporter:
              lookis Jingsi Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: