Closed connection Opens without being called

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Dokkie
Posts: 43
Joined: Wed 08 Oct 2008 21:58

Closed connection Opens without being called

Post by Dokkie » Tue 16 Dec 2008 00:30

Using FB2.1 (not embedded) D2009 Windows XP SP3.
I have a datamodule with a connection and two transaction components. One transaction component is for Reading only the second for Updating the Database.
The connection component has the UserName and password hardcoded - temporarily while I develop the application.

Have several tables attached to the connection and the transactions.

The connection component is closed when the application starts. When I Open a table component (without explicitly Opening the connection) the connection opens - is this expected? I assumed that Opening a table without an open connection would fail.

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

Post by Plash » Tue 16 Dec 2008 09:45

This is the designed behaviour. The connection is opened automatically when a table or query is opened.

Post Reply