specification-arg-resolver icon indicating copy to clipboard operation
specification-arg-resolver copied to clipboard

Use one @Join alias for multiple @Spec

Open MikLay opened this issue 3 years ago • 4 comments

I have a problem with:

image It creates query with two joins for getting date

inner join timetables t0 .....
inner join timetables t1 ....
......
where
t0.startTime = ?
and t1.endTime = ?

But I need to get query like

inner join timetables t0 ....
......
where
t0.startTime = ?
and t0.endTime = ?

MikLay avatar Apr 16 '21 15:04 MikLay

in fact this error occurs for every where condition of joined entity - so we have not @And but @Or

Meephistoo avatar Dec 23 '21 05:12 Meephistoo

I have the same problem

YomnaFekry avatar May 29 '22 09:05 YomnaFekry

Do we have any solution for this issue?

rishisha19 avatar Jun 24 '22 07:06 rishisha19

I have the same problem. Any solution or alternative for this please?

This is the same issue than https://github.com/tkaczmarzyk/specification-arg-resolver/issues/112 and it seems to have a solution but the merge conflicts of pull request had not been solved.

mariseltm avatar Aug 25 '22 14:08 mariseltm

@rishisha19 @YomnaFekry @Meephistoo @MikLay v2.9.0 has been released today and it contains a fix for this. Thank you for patience.

tkaczmarzyk avatar Nov 24 '22 12:11 tkaczmarzyk