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]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
