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

Getting List of POJOs after executing a native query

$
0
0
I am working with Stored Procedures and Views. I call these using entityManager.createNativeQuery. The problem is that createNativeQuery method returns a List<Object[]> but I would rather like to get List<PojoName>. How to achieve this. I am using Hibernate, Spring Data Jpa

Viewing all articles
Browse latest Browse all 297

Trending Articles