-->
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: how to parameterize the "schema" in @Table annotation
PostPosted: Mon Mar 14, 2011 7:53 am 
Newbie

Joined: Tue Nov 09, 2010 7:31 am
Posts: 4
Hi all,

I've got a situation, I'm using annotations, and I want to make configurable the property "schema" of the @Table annotation, 'cause I've got different schemas that change between deveploment and production enviroments, so the only way to solve this kind of problem, is making it configurable by properties file, or maybe by parameterizing it, or something, am I wrong ? (the other way is renaming our schema to the one used in the production enviroment) so, is it possible ??? how ???

I was lookig for any ideas, or solutions, but I couldn't find anything ... :(

Any idea or somewhere where I can find something similar is welcome !!

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.