- JpaExecutor - Class in org.springframework.integration.jpa.core
-
Executes Jpa Operations that produce payload objects from the result of the provided:
entityClass
JpQl Select Query
Sql Native Query
JpQl Named Query
Sql Native Named Query
When objects are being retrieved, it also possibly to:
delete the retrieved object
If neither entityClass nor any other query is specified then the entity-class
is "guessed" from the Message
payload.
- JpaExecutor(EntityManagerFactory) - Constructor for class org.springframework.integration.jpa.core.JpaExecutor
-
Constructor taking an EntityManagerFactory
from which the
EntityManager
can be obtained.
- JpaExecutor(EntityManager) - Constructor for class org.springframework.integration.jpa.core.JpaExecutor
-
Constructor taking an EntityManager
directly.
- JpaExecutor(JpaOperations) - Constructor for class org.springframework.integration.jpa.core.JpaExecutor
-
If custom behavior is required a custom implementation of
JpaOperations
can be passed in.
- JpaInboundChannelAdapterParser - Class in org.springframework.integration.jpa.config.xml
-
The JPA Inbound Channel adapter parser
- JpaInboundChannelAdapterParser() - Constructor for class org.springframework.integration.jpa.config.xml.JpaInboundChannelAdapterParser
-
- JpaNamespaceHandler - Class in org.springframework.integration.jpa.config.xml
-
The namespace handler for the JPA namespace
- JpaNamespaceHandler() - Constructor for class org.springframework.integration.jpa.config.xml.JpaNamespaceHandler
-
- JpaOperationFailedException - Exception in org.springframework.integration.jpa.core
-
An Exception that would be thrown if any of the Operations from
JpaOperations
fails
- JpaOperationFailedException() - Constructor for exception org.springframework.integration.jpa.core.JpaOperationFailedException
-
- JpaOperationFailedException(String, Throwable) - Constructor for exception org.springframework.integration.jpa.core.JpaOperationFailedException
-
- JpaOperationFailedException(String) - Constructor for exception org.springframework.integration.jpa.core.JpaOperationFailedException
-
- JpaOperationFailedException(Throwable) - Constructor for exception org.springframework.integration.jpa.core.JpaOperationFailedException
-
- JpaOperations - Interface in org.springframework.integration.jpa.core
-
The Interface containing all the JpaOperations those will be executed by
the Jpa Spring Integration components.
- JpaOutboundChannelAdapterParser - Class in org.springframework.integration.jpa.config.xml
-
The parser for JPA outbound channel adapter
- JpaOutboundChannelAdapterParser() - Constructor for class org.springframework.integration.jpa.config.xml.JpaOutboundChannelAdapterParser
-
- JpaOutboundGateway - Class in org.springframework.integration.jpa.outbound
-
The Jpa Outbound Gateway will allow you to make outbound operations to either:
submit (insert, delete) data to a database using JPA
retrieve (select) data from a database
Depending on the selected
OutboundGatewayType
, the outbound gateway
will use either the
JpaExecutor
's poll method or its
executeOutboundJpaOperation method.
- JpaOutboundGateway(JpaExecutor) - Constructor for class org.springframework.integration.jpa.outbound.JpaOutboundGateway
-
Constructor taking an
JpaExecutor
that wraps all JPA Operations.
- JpaOutboundGatewayFactoryBean - Class in org.springframework.integration.jpa.outbound
-
- JpaOutboundGatewayFactoryBean(JpaExecutor) - Constructor for class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
Constructor taking an
JpaExecutor
that wraps all JPA Operations.
- JpaParameter - Class in org.springframework.integration.jpa.support
-
Abstraction of Jpa parameters allowing to provide static parameters
and SpEl Expression based parameters.
- JpaParameter() - Constructor for class org.springframework.integration.jpa.support.JpaParameter
-
Default constructor.
- JpaParameter(String, Object, String) - Constructor for class org.springframework.integration.jpa.support.JpaParameter
-
Instantiates a new Jpa Parameter.
- JpaParameter(Object, String) - Constructor for class org.springframework.integration.jpa.support.JpaParameter
-
Instantiates a new Jpa Parameter without a name.
- JpaParserUtils - Class in org.springframework.integration.jpa.config.xml
-
Contains various utility methods for parsing JPA Adapter specific namesspace
elements and generation the respective BeanDefinition
s.
- JpaPollingChannelAdapter - Class in org.springframework.integration.jpa.inbound
-
Polling message source that produces messages from the result of the provided:
entityClass
JpQl Select Query
Sql Native Query
JpQl Named Query
Sql Native Named Query
After the objects have been polled, it also possibly to either:
executes an update after the select possibly to updated the state of selected records
executes an update (per retrieved object or for the entire payload)
delete the retrieved object
- JpaPollingChannelAdapter(JpaExecutor) - Constructor for class org.springframework.integration.jpa.inbound.JpaPollingChannelAdapter
-
Constructor taking a
JpaExecutor
that provide all required JPA
functionality.
- JpaUtils - Class in org.springframework.integration.jpa.support
-
This Utility contains a sub-set of utility methods from the Spring Data JPA Project.
- setAdviceChain(List<Advice>) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setBeanFactory(BeanFactory) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
- setClearOnFlush(boolean) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
If set to true
the EntityManager.clear()
will be called,
and only if the EntityManager.flush()
was called after performing persistence operations.
- setComponentName(String) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
Sets the name of the handler component.
- setDeleteAfterPoll(boolean) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
If set to 'true', the retrieved objects are deleted from the database upon
being polled.
- setDeleteInBatch(boolean) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
If not set, this property defaults to false
, which means that
deletion occurs on a per object basis if a collection of entities is being
deleted.
- setEntityClass(Class<?>) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Sets the class type which is being used for retrieving entities from the
database.
- setExpectSingleResult(boolean) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
This parameter indicates that only one result object shall be returned as
a result from the executed JPA operation.
- setExpression(String) - Method in class org.springframework.integration.jpa.support.JpaParameter
-
- setFirstResultExpression(Expression) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Set the expression that will be evaluated to get the first result in the query executed.
- setFlush(boolean) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
If set to true
the EntityManager.flush()
will be called
after persistence operation.
- setFlushSize(int) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
If the provided value is greater than 0
, then EntityManager.flush()
will be called after persistence operations as well as within batch operations.
- setGatewayType(OutboundGatewayType) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGateway
-
- setGatewayType(OutboundGatewayType) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setIdExpression(Expression) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Set the expression that will be evaluated to get the primaryKey
for
EntityManager.find(Class, Object)
- setIntegrationEvaluationContext(EvaluationContext) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Sets the evaluation context for evaluating the expression to get the from record of the
result set retrieved by the retrieving gateway.
- setJpaParameters(List<JpaParameter>) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
- setJpaQuery(String) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
- setMaxNumberOfResults(int) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Set the max number of results to retrieve from the database.
- setMaxResultsExpression(Expression) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Set the expression for maximum number of results expression.
- setName(String) - Method in class org.springframework.integration.jpa.support.JpaParameter
-
- setNamedQuery(String) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
A named query can either refer to a named JPQL based query or a native SQL
query.
- setNativeQuery(String) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
You can also use native Sql queries to poll data from the database.
- setOffendingJPAQl(String) - Method in exception org.springframework.integration.jpa.core.JpaOperationFailedException
-
- setOrder(int) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setOutputChannel(MessageChannel) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setParameters(List<JpaParameter>) - Method in class org.springframework.integration.jpa.support.parametersource.ExpressionEvaluatingParameterSourceFactory
-
Define the (optional) parameter values.
- setParameterSource(ParameterSource) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
Specify the
ParameterSource
that would be used to provide
additional parameters.
- setParameterSourceFactory(ParameterSourceFactory) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
- setPersistMode(PersistMode) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
- setProducesReply(boolean) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGateway
-
If set to 'false', this component will act as an Outbound Channel Adapter.
- setProducesReply(boolean) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setReplyTimeout(long) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
Specifies the time the gateway will wait to send the result to the reply channel.
- setRequiresReply(boolean) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setStaticParameters(Map<String, Object>) - Method in class org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory
-
If the input is a List or a Map, the output is a map parameter source, and in that case some static parameters
can be added (default is empty).
- setTxAdviceChain(List<Advice>) - Method in class org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
-
- setUsePayloadAsParameterSource(Boolean) - Method in class org.springframework.integration.jpa.core.JpaExecutor
-
- setValue(Object) - Method in class org.springframework.integration.jpa.support.JpaParameter
-
- shouldGenerateId() - Method in class org.springframework.integration.jpa.config.xml.JpaOutboundChannelAdapterParser
-
- shouldGenerateIdAsFallback() - Method in class org.springframework.integration.jpa.config.xml.JpaOutboundChannelAdapterParser
-