Interface TransactionUtil.HibernateTransactionFunction<T>

  • Type Parameters:
    T - function result
    All Superinterfaces:
    Enclosing class:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public static interface TransactionUtil.HibernateTransactionFunction<T>
    extends Function<Session,​T>
    Hibernate transaction function
    • Method Detail

      • beforeTransactionCompletion

        default void beforeTransactionCompletion()
        Before transaction completion function
      • afterTransactionCompletion

        default void afterTransactionCompletion()
        After transaction completion function