Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: jdbc
    • Labels:
      None
    • Environment:

      Description

      hi
      any plan for port jdbc module to hsqldb to latest 2.x series?
      i have this problem:
      org.apache.openjpa.jdbc.sql.HSQLDictionary.java, the referenced class
      is org.hsqldb.Trace. Trace used to contain various error codes, amidst
      others VIOLATION_OF_UNIQUE_INDEX . Some of the old error codes in
      Trace were ported to the class org.hsqldb.error.ErrorCode in newer
      versions of HSQLDB, but VIOLATION_OF_UNIQUE_INDEX is not among them.
      any ideas?
      thanks in advance for every suggestion

        Activity

        Hide
        Di Wu Lau added a comment -

        Does anyone have objections to upgrade from hsql 1.x to 2.x?

        Show
        Di Wu Lau added a comment - Does anyone have objections to upgrade from hsql 1.x to 2.x?
        Hide
        ASF subversion and git services added a comment -

        Commit 1496128 from allee8285@apache.org
        [ https://svn.apache.org/r1496128 ]

        OPENJPA-2391 - commit patch contributed by Di Lau.

        Show
        ASF subversion and git services added a comment - Commit 1496128 from allee8285@apache.org [ https://svn.apache.org/r1496128 ] OPENJPA-2391 - commit patch contributed by Di Lau.
        Hide
        Di Wu Lau added a comment -

        VIOLATION_OF_UNIQUE_INDEX is combined with VIOLATION_OF_UNIQUTE_CONTRAINT in org.hsqldb.error.ErrorCode. The integer value for both of them is 104 now. Attached is the patch for this fix.
        Thank you.

        Show
        Di Wu Lau added a comment - VIOLATION_OF_UNIQUE_INDEX is combined with VIOLATION_OF_UNIQUTE_CONTRAINT in org.hsqldb.error.ErrorCode. The integer value for both of them is 104 now. Attached is the patch for this fix. Thank you.
        Hide
        gil cattaneo added a comment -

        thanks!
        regards

        Show
        gil cattaneo added a comment - thanks! regards

          People

          • Assignee:
            Albert Lee
            Reporter:
            gil cattaneo
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development