-->
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: Class from Table in NamingStrategy
PostPosted: Mon Nov 20, 2006 5:05 am 
Newbie

Joined: Tue Jul 04, 2006 3:24 am
Posts: 6
Hi everybody,

we'are planning an modular system where every module can create his own tables. now i need a NamingStrategy that put prefixes to the tablenames depending on modulename.

like:
mod1_tablename
mod2_tablename

so it's possible to create tables with the same name in 2 modules.
but to do this i need the assigned class in NamingStrategy.tableName().
has anybody an idea how i can do that?

Thx,
Helge


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 6:10 am 
Newbie

Joined: Tue Jul 04, 2006 3:24 am
Posts: 6
nobody with an idea? or is this not possible?


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.