We now support distinct derived queries that are useful with projections to retrieve distinct results.
interface UserRepository extends Repository<User, Long> {
Mono<UserProjection> findDistinctByFirstName(String firstName);
}
interface UserProjection {
String getFirstName();
}
Original pull request: #346.
Consider projection properties as SELECT projection. Refactor distinct() into marker method without accepting a boolean flag. Make distinct field final. Update tests.
Original pull request: #346.
Jens Schauder opened DATAJDBC-112 and commented
If an entity references another entity the referenced entity should get persisted with the original entity.
So:
should result in two inserts. One into the table
LegoSet
, the other into the tableManual
Referenced from: pull request #9
The text was updated successfully, but these errors were encountered: