spring-projects / spring-projects/spring-integration
Jpa Retrieving Outbound Gateway - entity graph and parameters [INT-4435]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 1.2k
- Avg merge
- 17h 48m
- Merged PRs (30d)
- 62
Description
Tomas Blazo opened INT-4435 and commented
I would like to use Jpa Retrieving Outbound Gateway similar to Spring Data JPA with entity graph and properties.
it would be nice to use it this way
@Bean
public IntegrationFlow findContract() {
return f -> f
.handle(Jpa.retrievingGateway(this.entityManagerFactory)
.entityClass(Contract.class)
//.parameterExpression("contractNumber", "payload"))
// set entityGraph name
;
}
Affects: 4.3.14
Reference URL: https://stackoverflow.com/questions/49321699/spring-integration-jpa-retrieving-outbound-gateway-with-entity-graph
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified in the issue. Start with the Jpa.retrievingGateway(...) API and its parameterExpression configuration, then investigate how a JPA entity graph name and properties should be supplied; done means the requested gateway usage is supported and verified for the shown example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100