I have an app I'm currently working on. It uses 3 datasources, 2 of which are Oracle, 1 is MSSql. Each uses a different login and table set which isn't available in the other logins. I'm using spring (http://www.springframework.org), to glue my code together and manage the connections and transactions for me. I've created DAOs to get at the data, one for each data source, with a fa�ade DAO that ties things together into one DAO. In spring I've configured each real DAO to use a particular jcdAlias. All seems well. But I'm getting a weird behaviour. Two of the DAOs seem to be getting using the proper connection (the two Oracle ones), but the third is not. For some reason it's picking up the default connection rather than the one it's configured for. I've checked spelling to make sure it's correct, and I've verified that the jcdAlias that is in the DAO is the correct one. Does anyone have any suggestions for things I should check or look into? I've changed the default connection to the MSSql connection which eliminates the problem sortof, and fortunately this doesn't break anything (it was defaulting to one of the Oracle connections). This doesn't seem like a good way to fix it however. I've been toying with building it with straight OJB to try to eliminate spring as a problem, but I really don't think spring is the issue.
--mikej -=----- mike jackson [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
