Uses of Class
org.springframework.integration.jpa.dsl.JpaInboundChannelAdapterSpec
Package
Description
Provides JPA Components support for Java DSL.
-
Uses of JpaInboundChannelAdapterSpec in org.springframework.integration.jpa.dsl
Modifier and TypeMethodDescriptionJpaInboundChannelAdapterSpec.deleteAfterPoll
(boolean deleteAfterPoll) If set to 'true', the retrieved objects are deleted from the database upon being polled.JpaInboundChannelAdapterSpec.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.JpaInboundChannelAdapterSpec.entityClass
(Class<?> entityClass) Specify the class type which is being used for retrieving entities from the database.JpaInboundChannelAdapterSpec.expectSingleResult
(boolean expectSingleResult) This parameter indicates that only one result object shall be returned as a result from the executed JPA operation.JpaInboundChannelAdapterSpec.flushAfterDelete
(boolean flush) If set totrue
theEntityManager.flush()
will be called after persistence operation.static JpaInboundChannelAdapterSpec
Jpa.inboundAdapter
(EntityManager entityManager) Create aJpaInboundChannelAdapterSpec
builder instance based on the providedEntityManager
.static JpaInboundChannelAdapterSpec
Jpa.inboundAdapter
(EntityManagerFactory entityManagerFactory) Create aJpaInboundChannelAdapterSpec
builder instance based on the providedEntityManagerFactory
.static JpaInboundChannelAdapterSpec
Jpa.inboundAdapter
(JpaOperations jpaOperations) Create aJpaInboundChannelAdapterSpec
builder instance based on the providedJpaOperations
.Specify a JPA query to perform persistent operation.JpaInboundChannelAdapterSpec.maxResults
(int maxResults) Set the maximum number of results expression.JpaInboundChannelAdapterSpec.maxResultsExpression
(String maxResultsExpression) Specify a SpEL expression for maximum number of results expression.JpaInboundChannelAdapterSpec.maxResultsExpression
(Expression maxResultsExpression) Specify a SpEL expression for maximum number of results expression.JpaInboundChannelAdapterSpec.namedQuery
(String namedQuery) Specify a name a named JPQL based query or a native SQL query.JpaInboundChannelAdapterSpec.nativeQuery
(String nativeQuery) Specify a native SQL query to perform persistent operation.JpaInboundChannelAdapterSpec.parameterSource
(ParameterSource parameterSource) Specify aParameterSource
that would be used to provide additional parameters.