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

Inserts new entity with NULL value for Clob column actually inserts empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.0.2, 1.1.0, 1.2.1, 2.0.0
    • 1.2.0, 1.3.0, 2.0.0-M3
    • None
    • None
    • OpenJPA 1.0.0, 1.0.2
      Oracle XE 10g (JDBC driver 10.2.0.3.0
      JRE 1.5.0_13
    • Patch Available

    Description

      Inserts new entity with NULL value for Clob column with "nullable = true" actually inserts empty string as the value!

      Here's the persistence class:
      public class Exam... {
      @Lob
      private String text;
      }

      Attachments

        1. OPENJPA-525-3-branch1.1.x.patch
          4 kB
          Amy Yang
        2. OPENJPA-525.3.patch
          2 kB
          Milosz Tylenda
        3. OPENJPA-525.2.patch
          3 kB
          Albert Lee
        4. OPENJPA525_1_1_x.patch
          3 kB
          Amy Yang
        5. OPENJPA525.patch
          3 kB
          Amy Yang

        Issue Links

          Activity

            People

              milosz Milosz Tylenda
              frankca Frank Le
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: