Support assigning a whole @Struct aggregate embeddable in UPDATE

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Mutation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Assigning a whole @Struct aggregate embeddable in an UPDATE throws FeatureNotSupportedException.

      Repro:

        update ItemWithNestedValue set nested = null
        update ItemWithNestedValue set nested = :value
      

      Observed:

        FeatureNotSupportedException: Update assignment value for field path [nested] is not supported
      

      Required: emit a $set of the entire sub-document for the struct column.

      Out of scope for HIBERNATE-93 (path expressions into structs).

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: