For example: what mean "different schema" ?
only different schema-name ?
only different tables name ?
different schema-name, different catalog-name, different table-name,
different columns names, different columns specifications, different
tables/columns at all ?

On Fri, May 7, 2010 at 9:40 AM, Fabio Maulo <[email protected]> wrote:

> Please try to explain the problem 'A' instead the problem ('B') you have
> found trying to resolve the problem 'A'
>
>
> On Fri, May 7, 2010 at 9:23 AM, Peter Leeter 
> <[email protected]>wrote:
>
>> Hi there,
>>
>> I have another question today:
>>
>> In the hbm.xml-descriptor files of my project I use the schema-
>> attribute for each model.
>>
>> I got the requirement today that I have to be able to change the
>> schemata for different database configurations.
>>
>> Example: I my project compiled with an hbm.xml which has:
>> <class name="Person" table="persons" schema="customerdb">
>>
>> Now I want to be able to change customerdb to another schema without
>> having to change the hbm.xml - file.
>>
>>
>> I think I have to implement something like a replace logic for that
>> attribute, which can be changed for e.g. at startup via a command line
>> parameter.
>>
>>
>> Does somebody has an idea how I can achieve this? Are interceptors a
>> way?
>>
>>
>> Thanks in advance again for any help!
>> Peter
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "nhusers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>>
>
>
> --
> Fabio Maulo
>
>


-- 
Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to