Top Description Methods
org.hibernate.query.sqm.mutation.internal

public Interface Handler

Known Direct Subinterfaces
org.hibernate.query.sqm.mutation.internal.InsertHandler, org.hibernate.query.sqm.mutation.internal.UpdateHandler, org.hibernate.query.sqm.mutation.internal.DeleteHandler
Known Direct Implementers
org.hibernate.query.sqm.mutation.spi.AbstractMutationHandler
Imports
org.hibernate.query.spi.DomainQueryExecutionContext, org.hibernate.sql.exec.spi.ExecutionContext

Simply as a matter of code structuring it is often worthwhile to put all of the execution code into a separate handler (executor) class. This contract helps unify those helpers. Hiding this "behind the strategy" also allows mixing approaches based on the nature of specific queries
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The "number of rows affected" count
execute
(DomainQueryExecutionContext
Contextual information needed for execution
executionContext
)

Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.

Method Detail

executeback to summary
public int execute(DomainQueryExecutionContext executionContext)

Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.

Parameters
executionContext:DomainQueryExecutionContext

Contextual information needed for execution

Returns:int

The "number of rows affected" count