cane
cane

Reputation: 1027

How to use projection with Query by Example in Spring Data Jpa?

I'm trying to filter data using query by example. It's working for entities and primitives, but not for projections. Do You know if such functionality available in Spring Data Jpa?

Upvotes: 1

Views: 1777

Answers (1)

cane
cane

Reputation: 1027

At this moment it's not implemented in Spring Data Jpa 2.1.0.RC2, but as workaround it's possible to use extension like specification-with-projection

Upvotes: 1

Related Questions