Interface Initializer

    • Method Detail

      • getInitializedPart

        ModelPart getInitializedPart()
      • getInitializedInstance

        Object getInitializedInstance()
      • resolveKey

        void resolveKey​(RowProcessingState rowProcessingState)
        Step 1 - Resolve the key value for this initializer for the current row. After this point, the initializer knows the entity/collection/component key for the current row
      • resolveInstance

        void resolveInstance​(RowProcessingState rowProcessingState)
        Step 2 - Using the key resolved in resolveKey(org.hibernate.sql.results.jdbc.spi.RowProcessingState), resolve the instance (of the thing initialized) to use for the current row. After this point, the initializer knows the entity/collection/component instance for the current row based on the resolved key todo (6.0) : much of the various implementations of this are similar enough to handle in a common base implementation (templating?) things like resolving as managed (Session cache), from second-level cache, from LoadContext, etc..
      • finishUpRow

        void finishUpRow​(RowProcessingState rowProcessingState)
        Lifecycle method called at the end of the current row processing. Provides ability to complete processing from the current row and prepare for the next row.
      • endLoading

        default void endLoading​(ExecutionContext context)
        Lifecycle method called at the very end of the result values processing