OpenJPA
  1. OpenJPA
  2. OPENJPA-525

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.2, 1.1.0, 1.2.1, 2.0.0
    • Fix Version/s: 1.1.1, 1.3.0, 2.0.0-M3
    • Component/s: None
    • Labels:
      None
    • Environment:
      OpenJPA 1.0.0, 1.0.2
      Oracle XE 10g (JDBC driver 10.2.0.3.0
      JRE 1.5.0_13
    • Patch Info:
      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; }
      1. OPENJPA-525-3-branch1.1.x.patch
        4 kB
        Amy Yang
      2. OPENJPA525.patch
        3 kB
        Amy Yang
      3. OPENJPA-525.3.patch
        2 kB
        Milosz Tylenda
      4. OPENJPA-525.2.patch
        3 kB
        Albert Lee
      5. OPENJPA525_1_1_x.patch
        3 kB
        Amy Yang

        Issue Links

          Activity

          Frank Le created issue -
          Amy Yang made changes -
          Field Original Value New Value
          Attachment OPENJPA525.patch [ 12410739 ]
          Amy Yang made changes -
          Attachment OPENJPA525_1_1_x.patch [ 12410747 ]
          Donald Woods made changes -
          Patch Info [Patch Available]
          David Ezzio made changes -
          Assignee David Ezzio [ dezzio ]
          David Ezzio made changes -
          Fix Version/s 1.1.1 [ 12313177 ]
          Affects Version/s 1.1.0 [ 12312344 ]
          David Ezzio made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Affects Version/s 2.0.0 [ 12314019 ]
          David Ezzio made changes -
          Assignee David Ezzio [ dezzio ]
          Albert Lee made changes -
          Attachment OPENJPA-525.2.patch [ 12412698 ]
          Donald Woods made changes -
          Assignee Milosz Tylenda [ milosz ]
          Milosz Tylenda made changes -
          Link This issue relates to OPENJPA-1248 [ OPENJPA-1248 ]
          Milosz Tylenda made changes -
          Link This issue relates to OPENJPA-1249 [ OPENJPA-1249 ]
          Milosz Tylenda made changes -
          Attachment OPENJPA-525.3.patch [ 12416706 ]
          Amy Yang made changes -
          Attachment OPENJPA-525-3-branch1.1.x.patch [ 12417465 ]
          Amy Yang made changes -
          Link This issue relates to OPENJPA-1263 [ OPENJPA-1263 ]
          Milosz Tylenda made changes -
          Fix Version/s 1.3.0 [ 12313326 ]
          Affects Version/s 1.2.1 [ 12313328 ]
          Milosz Tylenda made changes -
          Link This issue relates to OPENJPA-1289 [ OPENJPA-1289 ]
          Milosz Tylenda made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0-M3 [ 12314148 ]
          Fix Version/s 2.0.0 [ 12314019 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Milosz Tylenda
              Reporter:
              Frank Le
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development