Posted Saturday, February 17, 2007 @ 08:59:47
Thank for your fast replay.
I had read it bevor. may be my description of my problem was not so clear.
here is a new try.
In the database is a tabel like :
----------------------
| id | value | size |
| 1 | 30.23| XS
| 2 | 33.67| M
| 3 | 35.55| L
etc.
now I would like to put the values in one row like : 30.23| 33.67| 35.55 etc.
My solution was to put the value list into a vectors vector.
this works fine when I use
List li = session.createQuery("select value from MeasureList " +
"where id = 1 order by size").list();
, but when I ask just for MeasureList It shows my the names of the object in the cell like tes.MeasureList@234d
I just want all values in one row and not one value per row and also the values from size sould be used for the column names
It would be nice when I do one query with all information and use the query more then onse.
Many thanks
Mirco
[Edit by gumi on Saturday, February 17, 2007 @ 09:03:59]