Interface WithSaveAndFlush<T extends IdentifiableEntity>

    • Method Detail

      • saveAndFlush

        T saveAndFlush​(T entity)
        Saves the specified entity and then flushes the persistence context into the underlying data sources.
        Parameters:
        entity - the entity to save.
        Returns:
        the saved entity.