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 Detail

      • preGetterTrigger

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