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

          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 ]
          Vermeulen made changes -
          Link This issue relates to OPENJPA-2559 [ OPENJPA-2559 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          1h 4m 1 Pinaki Poddar 24/Jul/08 18:47
          Resolved Resolved Reopened Reopened
          11d 18h 32m 1 Michael Dick 05/Aug/08 13:20
          Reopened Reopened Resolved Resolved
          35m 7s 1 Michael Dick 05/Aug/08 13:55
          Resolved Resolved Closed Closed
          581d 4h 37m 1 Donald Woods 09/Mar/10 18:32

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development