Uses of Class
org.springframework.integration.jpa.dsl.JpaInboundChannelAdapterSpec
Packages that use JpaInboundChannelAdapterSpec
Package
Description
Provides JPA Components support for Java DSL.
-
Uses of JpaInboundChannelAdapterSpec in org.springframework.integration.jpa.dsl
Methods in org.springframework.integration.jpa.dsl that return JpaInboundChannelAdapterSpecModifier 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 totruetheEntityManager.flush()will be called after persistence operation.static JpaInboundChannelAdapterSpecJpa.inboundAdapter(EntityManager entityManager) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManager.static JpaInboundChannelAdapterSpecJpa.inboundAdapter(EntityManagerFactory entityManagerFactory) Create aJpaInboundChannelAdapterSpecbuilder instance based on the providedEntityManagerFactory.static JpaInboundChannelAdapterSpecJpa.inboundAdapter(JpaOperations jpaOperations) Create aJpaInboundChannelAdapterSpecbuilder 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 aParameterSourcethat would be used to provide additional parameters.