Interface PanacheStatelessBlockingRepositoryOperations<Entity,Id>
- All Superinterfaces:
PanacheStatelessRepositoryOperations<Entity,org.hibernate.StatelessSession, Void, Boolean, Id>
- All Known Subinterfaces:
PanacheRepository.Stateless<Entity,,Id> PanacheStatelessBlockingRepository<Entity>,PanacheStatelessBlockingRepositoryBase<Entity,Id>
public interface PanacheStatelessBlockingRepositoryOperations<Entity,Id>
extends PanacheStatelessRepositoryOperations<Entity,org.hibernate.StatelessSession,Void,Boolean,Id>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VoidDelete the given entity from the database, if it is already inserted.default org.hibernate.StatelessSessionReturns theStatelessSessionfor theentity class for extra operations (eg. default VoidInsert the given entity in the database, if not already inserted.default VoidInsert all given entities.default VoidInsert all given entities.default VoidInsert all given entities.default VoidUpdate the given entity in the database.
-
Method Details
-
getSession
default org.hibernate.StatelessSession getSession()Returns theStatelessSessionfor theentity class for extra operations (eg. CriteriaQueries) - Specified by:
getSessionin interfacePanacheStatelessRepositoryOperations<Entity,org.hibernate.StatelessSession, Void, Boolean, Id> - Returns:
- the
StatelessSessionfor theentity class
-
insert
Insert the given entity in the database, if not already inserted. -
delete
Delete the given entity from the database, if it is already inserted. -
update
Update the given entity in the database. -
insert
Insert all given entities. -
insert
Insert all given entities. -
insert
Insert all given entities.
-