OpenJPA
  1. OpenJPA
  2. OPENJPA-2421

Slices: Can't setting up FinderTargetPolicy

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

        Activity

        Pinaki Poddar made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.0 [ 12319463 ]
        Resolution Fixed [ 1 ]
        Pinaki Poddar made changes -
        Assignee Pinaki Poddar [ ppoddar@apache.org ]
        Jingsi Liu made changes -
        Field Original Value New Value
        Affects Version/s 2.2.2 [ 12323356 ]
        Jingsi Liu created issue -

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Jingsi Liu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development