Skip to content

Support IN clause for Collection.contains calls #1

Description

@mojo2012

Hi,

I'm using your project (slightly modified to translate to JPQL) in my project (spot-next.io). So far it works great. But yesterday I saw that something like this doesn't work:

.filter(p -> catalogService.getSessionCatalogVersions().contains(p.getCatalogVersion()) && p.getCategories().contains(category));

It is not translated to a WHERE catalogVersions IN (...) clause. It should be possible to implement this in with jaque. Any idea how?

Btw, cool project :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions