specification-arg-resolver
specification-arg-resolver copied to clipboard
Accept multiple @Spec for the same @Join alias
When we have this code, a query with two joins was build
@Join(path = "sub", alias = "sub") ...
@And({ @Spec(path = "sub.attribute1", params = "att1", spec = Equal.class), @Spec(path = "sub.attribute2", params = "att2", spec = Equal.class),})
The generated SQL was like
inner join sub sub0 ..... inner join sub sub1 ..... where sub0.attribute1 = ? and sub1.attribute2 = ?
Please @thesivis review this pull request. Your solution is not integrated to master yet. I have this problem and it would be wonderfull if it could be solved. Thanks in advance.
@mariseltm I integrated my solution with master now. Can you verify please?
@tkaczmarzyk please merge this
@thesivis @wicaksono @tkaczmarzyk Are these changes already integrated with master? What version number do I have to set in my pom to use the updated library?
@wicaksono @mariseltm Merged to master and will be released with 2.9.0 today.
v2.9.0 has been released and is now available in Maven Central