Return custom object from Spring Data with Native Query

后端 未结 5 2133
一生所求
一生所求 2020-12-10 04:18

My question is based on another post. How can I achieve the same with a native query? Native queries do not allow JPQL thus do not allow new instances either.

My POJ

5条回答
提交回复
热议问题