Uploaded image for project: 'Hibernate ORM'
  1. HHH-9207

Collection of CompositeUserType with nullable properties: wrong schema generation

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 4.3.5, 4.2.12, 5.2.1
    • Fix versions: None
    • Components: hibernate-envers
    • Labels:
      None

      Description

      When an entity is audited with a collection, where the element is mapped by a CompositeUserType with nullable properties, the generated schema for the audition table of the component is wrong. It seems that all columns of the audition table has a not null constraint on it.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: