Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1691

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2, 2.0.0, 2.0.1
    • 1.2.3, 1.3.0, 2.0.2, 2.1.0
    • sql
    • 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

      Attachments

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

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              milosz Milosz Tylenda
              kailaw Kelvin Law
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: