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

          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
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development