Using Multiple Oracle Homes with ODAC

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ac
Posts: 32
Joined: Mon 16 Jan 2006 12:56

Using Multiple Oracle Homes with ODAC

Post by ac » Tue 29 Aug 2006 09:11

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)

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 29 Aug 2006 13:11

Property TOraSession.HomeName is not obsolete. You can use it to set Oracle Home.

Post Reply