All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.bean.PreGetterCallback Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.bean;

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

  /**
   * Trigger the callback based on a getter on a property.
   *
   * @param propertyIndex The index of the property
   */
  void preGetterTrigger(int propertyIndex);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy