-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Mapping a Properties object in a relational way.
PostPosted: Mon Oct 09, 2006 5:32 am 
Newbie

Joined: Wed Jul 05, 2006 8:22 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.