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
↧