Details

    • Type: Bug Bug
    • Status: Closed
    • 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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        24d 2h 16m 1 Albert Lee 24/Jun/13 17:33
        Resolved Resolved Closed Closed
        712d 3h 46m 1 Mark Struberg 06/Jun/15 21:19
        Mark Struberg made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        gil cattaneo added a comment -

        thanks!
        regards

        Show
        gil cattaneo added a comment - thanks! regards
        Di Wu Lau made changes -
        Attachment OPENJPA-2391.patch [ 12589453 ]
        Di Wu Lau made changes -
        Attachment OPENJPA-2391.final.patch [ 12589452 ]
        Di Wu Lau made changes -
        Attachment OPENJPA-2391.final.patch [ 12589452 ]
        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.
        Albert Lee made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.0 [ 12319463 ]
        Resolution Fixed [ 1 ]
        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.
        Albert Lee made changes -
        Field Original Value New Value
        Assignee Albert Lee [ allee8285 ]
        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?
        gil cattaneo created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development