Spring : JPA to convert native SQL to non entity pojo


I have native SQL which returns the collection of objects and i would like to get the results as collection of objects(a pojo class which is non entity)

is it possible to get the results from native SQL as collection of non entity?

Source: Stack Overflow


Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273