Beginner |
|
Joined: Mon Jan 31, 2005 11:04 am Posts: 21
|
Hi,
I would like to only select some properties of my object entity for performance reason.
I know I can use HQL and the "select" clause. Unfortunately I find this way of working not efficient because I reveive a list of Object[] that I have to iterate over. It becomes much worth if you have a tree like structure in your database model. A->0-n B->0-n C->0-n D
I would still like to use the Criteria way to query my database.
Is there a way to achive that? Or is there a way to easily parse and map a list of Object[] into an Entity object?
schuer
|
|