Page 1 of 1

Using Multiple Oracle Homes with ODAC

Posted: Tue 29 Aug 2006 09:11
by ac
We need to implement a feature, where the user can choose which Oracle Home to use when connecting to a certain DB.

I think I can use the array OracleHomeNames to get a list of available Oracle Homes. And I can set the property TOraSession.HomeName. Right?

But I found out, that near the property TOraSession.HomeName property declaration there is a comment "//obsolete". So shouldn't I use this property? How else could I set the Oracle Home?

Thanks for you help,
Alexander

P.S.: we use ODAC v5.70.1.34 (07.07.06)

Posted: Tue 29 Aug 2006 13:11
by Plash
Property TOraSession.HomeName is not obsolete. You can use it to set Oracle Home.