Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: jpa
    • Labels:
      None
    • Patch Info:
      Patch Available

      Activity

      Hide
      Tim McConnell added a comment -

      Attaching patch with a testcase which demonstrates a failure in trunk (that works fine for JPA 1.2.x) when using various permutations of openjpa.jdbc.QuerySQLCache settings that were valid in JPA 1.2 but may not be valid in JPA 2.0.

      Show
      Tim McConnell added a comment - Attaching patch with a testcase which demonstrates a failure in trunk (that works fine for JPA 1.2.x) when using various permutations of openjpa.jdbc.QuerySQLCache settings that were valid in JPA 1.2 but may not be valid in JPA 2.0.
      Hide
      Donald Woods added a comment -

      testMultiEMCachingAll(org.apache.openjpa.persistence.compat.TestQuerySQLCache) Time elapsed: 0.058 sec <<< ERROR!
      javax.persistence.PersistenceException: Explicit persistence provider error(s) occurred for "test" after trying the following discovered implementations: org.apache.openjpa.persistence.PersistenceProviderImpl from provider: org.apache.openjpa.persistence.PersistenceProviderImpl
      . . .
      Caused by: <openjpa-2.1.0-SNAPSHOT-r422266:932643M fatal general error> org.apache.openjpa.persistence.PersistenceException: There was an error when invoking the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory". See the nested exception for details.
      . . .
      Caused by: org.apache.openjpa.lib.util.ParseException: There was an error while setting up the configuration option "jdbc.QuerySQLCache", and it was set to "all". All possible values for this setting are: [true, org.apache.openjpa.jdbc.kernel.PreparedQueryCacheImpl, false, null].

      Show
      Donald Woods added a comment - testMultiEMCachingAll(org.apache.openjpa.persistence.compat.TestQuerySQLCache) Time elapsed: 0.058 sec <<< ERROR! javax.persistence.PersistenceException: Explicit persistence provider error(s) occurred for "test" after trying the following discovered implementations: org.apache.openjpa.persistence.PersistenceProviderImpl from provider: org.apache.openjpa.persistence.PersistenceProviderImpl . . . Caused by: <openjpa-2.1.0-SNAPSHOT-r422266:932643M fatal general error> org.apache.openjpa.persistence.PersistenceException: There was an error when invoking the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory". See the nested exception for details. . . . Caused by: org.apache.openjpa.lib.util.ParseException: There was an error while setting up the configuration option "jdbc.QuerySQLCache", and it was set to "all". All possible values for this setting are: [true, org.apache.openjpa.jdbc.kernel.PreparedQueryCacheImpl, false, null] .
      Hide
      Donald Woods added a comment -

      Updated testcase and doc updates for 2.0.0.

      Show
      Donald Woods added a comment - Updated testcase and doc updates for 2.0.0.

        People

        • Assignee:
          Donald Woods
          Reporter:
          Tim McConnell
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development