Hi,
My question is as follows. I have a class which uses a java.util.Properties object to store it's data in. So it has getProperty and setProperty as it's accessor methods.
The properties that are allowed to be set are fixed, which means I know all possible property keys in advance.
By default Hibernate want's to store my Properties object as a triple table, but this is very incovenient for querying.
What I want is to have Hibernate store my properties object in such a way that every property key matches a column in a table.
Can this be done in Hibernate, or should I solve this using JDBC ?
Thanks,
Xander
|