Uses of Class
org.springframework.integration.jpa.dsl.JpaRetrievingOutboundGatewaySpec
Package
Description
Provides JPA Components support for Java DSL.
-
Uses of JpaRetrievingOutboundGatewaySpec in org.springframework.integration.jpa.dsl
Modifier and TypeMethodDescriptionJpaRetrievingOutboundGatewaySpec.deleteAfterPoll
(boolean deleteAfterPoll) If set totrue
, the retrieved objects are deleted from the database upon being polled.JpaRetrievingOutboundGatewaySpec.deleteInBatch
(boolean deleteInBatch) If not set, this property defaults tofalse
, which means that deletion occurs on a per object basis if a collection of entities is being deleted.JpaRetrievingOutboundGatewaySpec.expectSingleResult
(boolean expectSingleResult) This parameter indicates that only one result object shall be returned as a result from the executed JPA operation.JpaRetrievingOutboundGatewaySpec.firstResult
(int firstResult) Specify a first result in the query executed.JpaRetrievingOutboundGatewaySpec.firstResultExpression
(String firstResultExpression) Specify a SpEL expression that will be evaluated to get the first result in the query executed.JpaRetrievingOutboundGatewaySpec.firstResultExpression
(Expression firstResultExpression) Specify a SpEL expression that will be evaluated to get the first result in the query executed.JpaRetrievingOutboundGatewaySpec.flushAfterDelete
(boolean flush) If set totrue
theEntityManager.flush()
will be called after persistence operation.JpaRetrievingOutboundGatewaySpec.idExpression
(String idExpression) Specify a SpEL expression that will be evaluated to get theprimaryKey
forEntityManager.find(Class, Object)
.JpaRetrievingOutboundGatewaySpec.idExpression
(Expression idExpression) Specify a SpEL expression that will be evaluated to get theprimaryKey
forEntityManager.find(Class, Object)
.JpaRetrievingOutboundGatewaySpec.maxResults
(int maxResults) Set the maximum number of results expression.JpaRetrievingOutboundGatewaySpec.maxResultsExpression
(String maxResultsExpression) Specify a SpEL expression for maximum number of results expression.JpaRetrievingOutboundGatewaySpec.maxResultsExpression
(Expression maxResultsExpression) Specify a SpEL expression for maximum number of results expression.Jpa.retrievingGateway
(EntityManager entityManager) Create aJpaRetrievingOutboundGatewaySpec
builder instance for request-reply gateway based on the providedEntityManager
.Jpa.retrievingGateway
(EntityManagerFactory entityManagerFactory) Create aJpaRetrievingOutboundGatewaySpec
builder instance for request-reply gateway based on the providedEntityManagerFactory
.Jpa.retrievingGateway
(JpaOperations jpaOperations) Create aJpaRetrievingOutboundGatewaySpec
builder instance for request-reply gateway based on the providedJpaOperations
.