Class SqlFileBatchInsertQuery.EntityHandler

java.lang.Object
org.seasar.doma.jdbc.query.SqlFileBatchInsertQuery.EntityHandler
Enclosing class:
SqlFileBatchInsertQuery<ELEMENT>

protected class SqlFileBatchInsertQuery.EntityHandler extends Object
A handler for entity lifecycle callbacks.
  • Field Details

  • Constructor Details

    • EntityHandler

      protected EntityHandler(EntityType<ELEMENT> entityType)
      Constructs a new instance with the specified entity type.
      Parameters:
      entityType - the entity type
  • Method Details

    • preInsert

      protected void preInsert()
      Executes pre-insert entity lifecycle callbacks.

      This method creates a pre-insert context and calls the entity type's preInsert method.

    • postInsert

      protected void postInsert()
      Executes post-insert entity lifecycle callbacks.

      This method creates a post-insert context and calls the entity type's postInsert method.