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

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -