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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

        Attachments

        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

            People

            • Assignee:
              milosz Milosz Tylenda
              Reporter:
              kailaw Kelvin Law

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment