TOraSession disconnecting when a new ToraSessoin is created

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
datkins
Posts: 2
Joined: Sun 08 Jan 2006 10:10

TOraSession disconnecting when a new ToraSessoin is created

Post by datkins » Wed 23 May 2007 17:23

We have a derived TOraDesinSession from ToraSession which we use on formas in CBuilder to allow simlpe access to our server for design time behaviour, when we ship up to now we have nto had any issues but we have recneytl had to work with a site with different home name, we are not runnign the datasbe so can;t change it.

our derived session object disconnects the main TOraSession the applciation creates when it is constrcued as part of form construction, can;t see why my clearly happens in the forms constructor.

It almost appears that the home name on the existing torasession is being changed by a nre sessions design time parameters.

Any expricne of this out there?

Love the tools though, would never have wanted to use a databse without them!

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

Post by Plash » Thu 24 May 2007 08:55

The TOraSession component disconnects if the HomeName property of another TOraSession component is set to a different value. Please specify whether both your session components have different values in the HomeName property.
Also specify the exact version of ODAC including build number (see Oracle | About ODAC in the Delphi menu).

Post Reply