Module io.ebean.api
Package io.ebean.bean

Interface PreGetterCallback


public interface PreGetterCallback
A callback that can be registered to fire on getter method calls. It's primary purpose is to automatically flush JDBC batch buffer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    preGetterTrigger(int propertyIndex)
    Trigger the callback based on a getter on a property.
  • Method Details

    • preGetterTrigger

      void preGetterTrigger(int propertyIndex)
      Trigger the callback based on a getter on a property.
      Parameters:
      propertyIndex - The index of the property