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

        Hide
        ASF subversion and git services added a comment -

        Commit 1514829 from Pinaki Poddar in branch 'openjpa/trunk'
        [ https://svn.apache.org/r1514829 ]

        OPENJPA-2421: Correct a bug on FinderTargetPolicy

        Show
        ASF subversion and git services added a comment - Commit 1514829 from Pinaki Poddar in branch 'openjpa/trunk' [ https://svn.apache.org/r1514829 ] OPENJPA-2421 : Correct a bug on FinderTargetPolicy

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development