-->
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.  [ 2 posts ] 
Author Message
 Post subject: Create the .hbm.xml from a Configuration object ?
PostPosted: Thu Sep 01, 2005 6:30 am 
Newbie

Joined: Fri Feb 04, 2005 6:51 am
Posts: 3
I have a requirement to programmatically append attributes to class mapping in an .hbm.xml file. For this, I am experimenting with the Configuration class, which seems to have nice methods to add attributes to the mapping. But, I don't see a way to get the Xml Document back from a Configuration.

I could work with the DOM APIs, but it would have been nice to get it done thorugh hibernate.

Any suggestions ?

Thanks
Ratheesh


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 8:57 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Extend Configuration class.


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

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.