OpenJPA
  1. OpenJPA
  2. OPENJPA-1691

Oracle XMLType column failed to insert/update when xml contains more than 4000 characters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 2.0.0, 2.0.1
    • Fix Version/s: 1.2.3, 1.3.0, 2.0.2, 2.1.0
    • Component/s: sql
    • Environment:
      Oracle 10g, JDBC driver (ojdbc14.jar) 10.2.0.4.0, OpenJPA 1.2.2

      Description

      Oracle throws the following exception when XML content is greater than 4000 characters:
      ORA-01461: can bind a LONG value only for insert into a LONG column

      1. OPENJPA-1691_2.0.x.patch
        12 kB
        Jeremy Bauer
      2. OPENJPA-1691.1.2.x.patch
        11 kB
        Jeremy Bauer

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Milosz Tylenda
              Reporter:
              Kelvin Law
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development