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: INamingStrategy
PostPosted: Fri Sep 12, 2008 8:05 am 
Newbie

Joined: Thu Feb 07, 2008 6:48 am
Posts: 14
Hello,

I am using the INamingStrategy interface to append the string "CFG1_" to all my table name definitions in the .hbm mapping files.

With the cfg.NamingStrategy = new CFG1NamingStrategy () I can add the string to all my tablenames defined in the mapping files.

BUT, there are a FEW tables in my mapping files that do not need the CFG1_ string appended in front of the table name...

So my question is: Is there a way to exclude some of the classes defined in the mapping files from the INamingStrategy technique so the "CFG1_" string is not appended to a certain table name?

Best Regards!


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.