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

Select...in() clause with Sprign Data JPA

$
0
0
Hi!

I have found that using a very common query like this:

@Query(nativeQuery=true, value="select * from questions where id in (22,45,65,777,444)") results in a list of objects instead of a list of questions object.

[[Ljava.lang.Object;@49fd8d8f, [Ljava.lang.Object;@2558cd3c, [Ljava.lang.Object;@690a314b]

This situation is going to be fixed?

How can I manage this right now?

Thanks!

Viewing all articles
Browse latest Browse all 297

Trending Articles