HI All, I have table with 30 columns and I mapped those to one entity value object. Now I need to get only three columns from that table. For that I had written One externalized native sql query in hbm file. I need to get these result in to my customized another value object, that value object having those properties only.
How to write the externalized query in hbm file and how execute in DAO class.
Any way I need to return my customized Value object.
Can any one help me Plz.....
Thanks in Advance Dileep
|