java - spring hibernate.createSQLQuery return as custom entity -
I am query query = hibernate.Sent SQLQuery ("Select ABC from the ABC,") ;
Is it possible for auto "pars" in the "Pozo" list?
So I can do this:
list & lt; CustomPOJO & gt; Abc = query.list (); // CustomPosozoza is not an Entity tag, Entity tag
Try < / P>
Hibernate.Credit SQLAquiry ("ABC, select DEF from table"). Cetreccial Transformers (Transformers. Liestiobian (CustomPoos.class));
Disappears as if.
Comments
Post a Comment