Skip to content
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

IN query converts collection arguments to singular value [DATACASS-357] #526

Closed
spring-projects-issues opened this issue Nov 21, 2016 · 1 comment
Assignees
Labels
type: bug
Milestone

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Nov 21, 2016

Mark Paluch opened DATACASS-357 and commented

A query method

Person findByFirstnameInAndLastname(List<String> firstnames, String lastname);

for

class Person {

  @PrimaryKeyColumn(type = PrimaryKeyType.PARTITIONED, ordinal = 1) 
  private String lastname;

  @PrimaryKeyColumn(type = PrimaryKeyType.CLUSTERED, ordinal = 2) 
  private String firstname;
}

converts firstnames to String altough the argument should remain a collection.


Affects: 1.5 M1 (Ingalls), 2.0 M1 (Kay)

Issue Links:

Referenced from: pull request #89, and commits e6b37c1, ff69fb2, 21e3ee3, 7975c83, db7af35, b0ba2c7, c1570d2

Backported to: 1.5 RC1 (Ingalls)

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Nov 29, 2016

John Blum commented

Reviewed and merged PR #89 to master and 2.0.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug
Projects
None yet
Development

No branches or pull requests

2 participants