-->
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: How to add hbm files dynamically to existing configuration?
PostPosted: Wed Apr 17, 2013 8:47 am 
Newbie

Joined: Wed Apr 17, 2013 8:19 am
Posts: 1
I have to add my hbm files dynamically to the hibernate configuration which is already exist, why because I have some settings already in the hibernate configuration. Using this hbm I need to create table dynamically. I have seen some posts which are adding the hbm files dynamically using new Configuration but I did't see any link about adding hbm files to existing configuration dynamically.How ?
Dhanyawad,
Rushi.


Top
 Profile  
 
 Post subject: Re: How to add hbm files dynamically to existing configuration?
PostPosted: Thu Apr 18, 2013 1:17 am 
Regular
Regular

Joined: Wed Apr 10, 2013 1:02 am
Posts: 50
Can you give a little brief about the scenario...

I was thinking about the same problem yesterday .. here in my case the database tables are created on the basis of date.
Example TCR_CARR_INCOMING_20120418 ...

Only solution seems right to me is righting a shell/bat for changing cfg file...

_________________
Regards
Akash Miital
http://akash.thegrassroots.co.in/hibernate/


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.