How to use Hibernate to transform a query result to a Class instance
Problem Your query returns an object which is a class , but for some reason you can’t use it as an entity Solution: The Class public class MY_CLASS { long a; String b; } In the M...