spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Jpa Retrieving Outbound Gateway - entity graph and parameters [INT-4435]

Open spring-operator opened this issue 7 years ago • 1 comments

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

spring-operator avatar Mar 19 '18 20:03 spring-operator