-->
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: Creation of Tables in MS SQL at Runtime
PostPosted: Tue Sep 11, 2007 5:54 am 
Newbie

Joined: Tue Sep 11, 2007 5:44 am
Posts: 1
Hi!
I wanted to know if I can create a table at runtime using Hibernate? My project has spec wherein I need to create a table based on a particular creteria. My system will be providing the fields for the table. I'll be using JBoss server. As far as I know, when you fire a query using Hibernate, the hbm.xml files included in cfg.xml gets loaded in session. So, my question is how can I create the POJO classes and hbm.xml files for the table in question while in runtime/programmatically. Any help would be appreciated. Thanks in advance.


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.