Creating a querydsl expression

We need to create a subquery like: VALUES 1,12,923,459, ..., 21263

in the advanced querydsl query, but I don't see a way to generate this.

We currently use a little hack with (select 10090) union (select 10091) union (select 10100) union but this has a big performance penalty (in postgresql).

+3
sql querydsl


source to share


No one has answered this question yet

Check out similar questions:

2603
Add column with default value to existing table in SQL Server
1657
Finding duplicate values ​​in a SQL table
1256
What are the options for storing hierarchical data in a relational database?
321
SQL to find the number of distinct values ​​in a column
3
Generating QueryDSL Code for ManyToMany
3
QueryDSL - how to join subquery union
1
Adding an Option Statement to a QueryDSL Query
1
Insert subqueries into QueryDSL 4
0
Union subselects querydsl
0
QueryDSL joins multiple fields



All Articles
Loading...
X
Show
Funny
Dev
Pics