Re: iBatis and multiple databases

2005-06-08 Thread Brandon Goodin
Currently, i do not think this is documented. But, the idea is that the discriminator defines a column whose value will be examined and compared against the subMap tag's value attribute to see which subMap's resultMap should be included. You may also use the extend functionality on the resultMap t

Re: iBatis and multiple databases

2005-06-08 Thread Brandon Goodin
oops bad advice. Forget option (1). Mapped statements do not have extend... only resultMap. Sorry Brandon On 6/8/05, Brandon Goodin <[EMAIL PROTECTED]> wrote: > There is not one way to support multiple databases with ibatis. There > are several options to manage multiple database support. > > Ex

Re: iBatis and multiple databases

2005-06-08 Thread Brandon Goodin
There is not one way to support multiple databases with ibatis. There are several options to manage multiple database support. Examples (1) Use the extends functionality to override particular statements that are specific to your database while leaving cross database sql statements alone. (2) sepa

iBatis and multiple databases

2005-06-08 Thread Emiliano Armellin
Hello, I've got this problem: my application (spring+ibatis) works good on a Sybase DB but now I have to make it work on Oracle DB. Oracle uses a different syntax for left/right join so I have to change sql-maps files. Well it's not so difficult but I'm asking: which is the best way to manage