OpenJPA
  1. OpenJPA
  2. OPENJPA-665

OpenJPA allows commit where fields with @Column(nullable=false) set to null

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: jpa
    • Labels:
      None

      Description

      OpenJPA disallows setting of null values to basic fields that are not optional.
      But it allows setting null values to basic fields whose column is set as nullable=false.

        Issue Links

        There are no Sub-Tasks for this issue.

          Activity

          Pinaki Poddar created issue -
          Pinaki Poddar made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Pinaki Poddar made changes -
          Link This issue is duplicated by OPENJPA-393 [ OPENJPA-393 ]
          Hide
          Michael Dick added a comment -

          This change introduced a regression with LOBs which may not be set to null. I'm reopening the issue to address LOBs

          Show
          Michael Dick added a comment - This change introduced a regression with LOBs which may not be set to null. I'm reopening the issue to address LOBs
          Michael Dick made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Pinaki Poddar [ ppoddar@apache.org ] Michael Dick [ mikedd ]
          Hide
          Michael Dick added a comment -

          Sorry, I didn't sync up this morning. Pinaki has already fixed this issue in trunk with rev 682610.

          Show
          Michael Dick added a comment - Sorry, I didn't sync up this morning. Pinaki has already fixed this issue in trunk with rev 682610.
          Michael Dick made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Michael Dick [ mikedd ] Pinaki Poddar [ ppoddar@apache.org ]
          Michael Dick made changes -
          Link This issue incorporates OPENJPA-811 [ OPENJPA-811 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development