Class PreFlushEvent

java.lang.Object
org.hibernate.event.spi.AbstractSessionEvent
org.hibernate.event.spi.PreFlushEvent
All Implemented Interfaces:
Serializable

@Incubating public class PreFlushEvent extends AbstractSessionEvent
An event that occurs just before arguments are bound to JDBC parameters during execution of HQL. Gives Hibernate a chance to persist any transient entities used as query parameter arguments.
Since:
7.2
See Also:
  • Constructor Details

  • Method Details

    • getParameterBindings

      public QueryParameterBindings getParameterBindings()
    • isPreFlushRequired

      public boolean isPreFlushRequired()
    • setPreFlushRequired

      public void setPreFlushRequired(boolean preFlushRequired)