-->
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: Mapping a subselect - variable property for schema name?
PostPosted: Sun Sep 16, 2007 12:24 pm 
Newbie

Joined: Sat Oct 01, 2005 9:23 pm
Posts: 1
Location: toronto
I'm working with as AS400 DB2 setup where the library file/schema name is different for each environment.

Using Hibernate3, I wish to use the same mapping for each environment, thus I need to externalize the schema property.

This is fine (using default schema) until this subselect object:

<class>
<subselect>Select ACTID as actionId, SUM(EHTOTQTY) as totalQty, etc. etc. from $$VARIABLE$$.ENF110 group by ACTID </subselect>
</class>

$$VARIABLE$$ is what I want to externalize. Is this possible?

(Potentially, there is another solution entirely, please let me know)
Thanks.,


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.