Skip to content

Update of entities [DATAJDBC-98] #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Feb 23, 2017 · 0 comments
Closed

Update of entities [DATAJDBC-98] #282

spring-projects-issues opened this issue Feb 23, 2017 · 0 comments
Assignees
Labels
in: repository Repositories abstraction type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

Jens Schauder opened DATAJDBC-98 and commented

Currently entities get always inserted.

We need to check if an entity is already present and if so update it, instead of inserting it


Referenced from: pull request #4

@spring-projects-issues spring-projects-issues added in: repository Repositories abstraction type: enhancement A general enhancement labels Dec 31, 2020
mp911de pushed a commit that referenced this issue Feb 21, 2022
We now support query derivation for R2DBC repositories:

interface ReactivePersonRepository extends ReactiveSortingRepository<Person, String> {

  Flux<Person> findByFirstname(String firstname);

  Flux<Person> findByFirstname(Publisher<String> firstname);

  Mono<Person> findByFirstnameAndLastname(String firstname, String lastname);

  Flux<Person> findFirstByLastnameLike(String pattern);
}

Original pull request: #295.
mp911de added a commit that referenced this issue Feb 21, 2022
Move query derivation infrastructure to Spring Data Relational. Adapt to newly introduced ValueFunction for deferred value mapping. Use query derivation in integration tests.

Tweak javadoc, add since and author tags, reformat code.

Related ticket: https://jira.spring.io/browse/DATAJDBC-514
Original pull request: #295.
mp911de added a commit that referenced this issue Feb 21, 2022
Original pull request: #295.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository Repositories abstraction type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants