Skip to content

DATAJPA-920 - Add support for exists projection in repository query derivation. #176

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
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Jul 28, 2016

We now support exists projections in derived queries. Queries select the primary key using tuple queries limiting the result to the first row.

interface UserRepository extends Repository<User, Long> {
    boolean existsByFirstname(String firstname);
}

Related ticket: DATAJPA-920
Depends on: spring-projects/spring-data-commons#171

mp911de added 2 commits July 28, 2016 10:23
…erivation.

We now support exists projections in derived queries. Queries select the primary key using tuple queries limiting the result to the first row.

interface UserRepository extends Repository<User, Long> {
    boolean existsByFirstname(String firstname);
}
odrotbohm pushed a commit that referenced this pull request Dec 2, 2016
…erivation.

We now support exists projections in derived queries. Queries select the primary key using tuple queries limiting the result to the first row.

interface UserRepository extends Repository<User, Long> {
    boolean existsByFirstname(String firstname);
}

Original pull request: #176.
odrotbohm added a commit that referenced this pull request Dec 2, 2016
Formatting and a bit of JavaDoc polish in JpaQueryCreator.

Original pull request: #176.
@odrotbohm odrotbohm closed this Dec 2, 2016
@odrotbohm odrotbohm deleted the issue/DATAJPA-920 branch December 2, 2016 10:13
odrotbohm pushed a commit that referenced this pull request Dec 5, 2016
…erivation.

We now support exists projections in derived queries. Queries select the primary key using tuple queries limiting the result to the first row.

interface UserRepository extends Repository<User, Long> {
    boolean existsByFirstname(String firstname);
}

Original pull request: #176.
odrotbohm added a commit that referenced this pull request Dec 5, 2016
Formatting and a bit of JavaDoc polish in JpaQueryCreator.

Original pull request: #176.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants