Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

spring jdbc + where in clause with composite keys

$
0
0
Hello,

I have tried to use where in clause with composite keys with Spring jdbc but wihtout success.
Does somebody have example how to code this condition?

in sql it looks like this
select * from carOrder
where (carOrder.year, carOrder.ORDRENR) in (values(2013,250),(2013,451))

Thanks,
Yuri Ivanov

Viewing all articles
Browse latest Browse all 297

Trending Articles