Interface Generator

    • Method Detail

      • generatedOnExecution

        boolean generatedOnExecution()
        Determines if the property value is generated when a row is written to the database, or in Java code that executes before the row is written.
        • Generators which only implement BeforeExecutionGenerator must result false.
        • Generators which only implement OnExecutionGenerator must result true.
        • Generators which implement both subinterfaces may decide at runtime what value to return.
        Returns:
        true if the value is generated by the database as a side effect of the execution of an insert or update statement, or false if it is generated in Java code before the statement is executed via JDBC.
      • generatesSometimes

        default boolean generatesSometimes()
      • generatesOnInsert

        default boolean generatesOnInsert()
      • generatesOnUpdate

        default boolean generatesOnUpdate()