Interface PanacheManagedBlockingRepositoryOperations<Entity,Id>

All Superinterfaces:
PanacheManagedRepositoryOperations<Entity,org.hibernate.Session,Void,Boolean,Id>
All Known Subinterfaces:
PanacheManagedBlockingRepository<Entity>, PanacheManagedBlockingRepositoryBase<Entity,Id>, PanacheRepository<Entity>, PanacheRepository.Managed<Entity,Id>

public interface PanacheManagedBlockingRepositoryOperations<Entity,Id> extends PanacheManagedRepositoryOperations<Entity,org.hibernate.Session,Void,Boolean,Id>
  • Method Summary

    Modifier and Type
    Method
    Description
    default Void
    delete(Entity entity)
    Delete the given entity from the database, if it is already persisted.
    default Void
    Flushes all pending changes to the database using the Session for the entity class.
    default org.hibernate.Session
    Returns the Session for the entity class for extra operations (eg.
    default Boolean
    Returns true if the given entity is persistent in the database.
    default Void
    persist(Entity entity)
    Persist the given entity in the database, if not already persisted.
    default Void
    persist(Entity firstEntity, Entity... entities)
    Persist all given entities.
    default Void
    persist(Iterable<Entity> entities)
    Persist all given entities.
    default Void
    persist(Stream<Entity> entities)
    Persist all given entities.
    default Void
    Persist the given entity in the database, if not already persisted.