preventing OraSession to connect to database even when connected in Designtime
Posted: Mon 28 Jan 2008 11:06
Hello,
I have some difficulties to understand how to prevent TOraSession to connect to Database when starting (initializing) up.
I use a database for development which is not reachable for my customers. When I forget to disable the connected state in TOraSession (which is enabled while designtime) for the release version of the program they complain that at startup the database is not reachable.
How can I prevent TOraSession to connect to the Database I explicitly say to connect to. Or maybe, how do I make sure, that it is ceonnected only while in designtime I tried something together with the beforeconnect event and the DisconnectedMode and KeepDesignConnected Options but that doesn't work till now. I also found nothing about the options in the documentation. Is there a new version of the documentation available.
I have some difficulties to understand how to prevent TOraSession to connect to Database when starting (initializing) up.
I use a database for development which is not reachable for my customers. When I forget to disable the connected state in TOraSession (which is enabled while designtime) for the release version of the program they complain that at startup the database is not reachable.
How can I prevent TOraSession to connect to the Database I explicitly say to connect to. Or maybe, how do I make sure, that it is ceonnected only while in designtime I tried something together with the beforeconnect event and the DisconnectedMode and KeepDesignConnected Options but that doesn't work till now. I also found nothing about the options in the documentation. Is there a new version of the documentation available.