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: Need to map the Hashmap keys to database table columns.
PostPosted: Fri Dec 02, 2005 1:14 pm 
Newbie

Joined: Fri Dec 02, 2005 12:58 pm
Posts: 1
3.1

I need to dynamically select the columns of a database table for persistance. My data comes as an XML and using some rules, the db table column to which the data (from a particular xml node) needs to be persisted. This I do using a hashmap but I need to be able to map the keys of the map to db table colums.

I could think of using a direct class-less XML to table mapping using a programatically generated mapping file.

Now how do I read the data back from the table to the same XML structure
Any strategies or suggestions??


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.