Class AutoMultiInsertQuery.AutoPreInsertContext<E>

Type Parameters:
E - the entity type
All Implemented Interfaces:
PreInsertContext<E>
Enclosing class:
AutoMultiInsertQuery<ENTITY>

protected static class AutoMultiInsertQuery.AutoPreInsertContext<E> extends AbstractPreInsertContext<E>
A context class for pre-insert entity processing.

This class extends AbstractPreInsertContext to add support for returning properties. It's used to pass information to entity listeners during the pre-insert phase.

  • Constructor Details

    • AutoPreInsertContext

      public AutoPreInsertContext(EntityType<E> entityType, Method method, Config config, DuplicateKeyType duplicateKeyType, ReturningProperties returningProperties)
      Constructs an instance.
      Parameters:
      entityType - the entity type
      method - the method that triggered this context
      config - the configuration
      duplicateKeyType - the duplicate key handling strategy
      returningProperties - the properties to be returned
  • Method Details

    • getReturningProperties

      public ReturningProperties getReturningProperties()
      Returns the properties to be returned from the INSERT statement.
      Returns:
      the returning properties
      See Also: