Interface TransactionStatus<T>

    • Method Detail

      • flush

        void flush()
        Flush the underlying session to the datastore, if applicable: for example, all affected Hibernate/JPA sessions.

        This is effectively just a hint and may be a no-op if the underlying transaction manager does not have a flush concept. A flush signal may get applied to the primary resource or to transaction synchronizations, depending on the underlying resource.

        Specified by:
        flush in interface java.io.Flushable
      • getTransaction

        @NonNull
        java.lang.Object getTransaction()
        Returns:
        The underlying transaction object.
      • getConnection

        @NonNull
        T getConnection()
        Returns:
        The associated connection.