Class AggregateColumnAssignmentHandler


  • public class AggregateColumnAssignmentHandler
    extends Object
    Handler for assignments to sub-columns of an aggregate column, which require a special write expression. It receives a callback for all assignments and records the positions of the assignments that belong to an aggregate where EmbeddableMappingType.requiresAggregateColumnWriter() is true. In a single post-processing step it replaces individual assignments with a single aggregate assignment.
    • Method Detail

      • addAssignment

        public void addAssignment​(int position,
                                  ColumnReference columnReference)
      • aggregateAssignments

        public void aggregateAssignments​(ArrayList<Assignment> assignments)