Hi,
I have class with a two-dimensional array of booleans as a member.
How do I do I the O/R - mapping in Hibernate for this?
Basically, I would like to to have a table that looks like this:
Row Column Value
1 1 true
1 2 false
1 3 true
2 1 true
2 2 false
2 3 true
.
.
.
I know that I could use the "serializable" type for this, but then
the array is not readable in the database.
Another approach would be to have a set instead of a two-dim.
array. This set consists of Entry-Objects and every object has members
"row", "column" and "value". But for performance reasons I would like
to keep the 2-dim. array.
Bernd
|