Skip to content

Usage of In operator with emptyList [DATAJDBC-604] #826

@spring-projects-issues

Description

@spring-projects-issues

benzen opened DATAJDBC-604 and commented

Using postgres as a DB

Given an Entity named person. Person have an id and a name.

Doing the following

personRepostory.findByIdIn(anEmptyList);

Will result in a postgres exception about badly defined request.

I expect spring data jdbc to provide a way to support this kind of usecase


Issue Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions