Question: Why BDE TBDESession (BDESESSION) ?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Horace
Posts: 40
Joined: Thu 11 May 2006 23:37

Question: Why BDE TBDESession (BDESESSION) ?

Post by Horace » Sat 22 Mar 2008 13:07

Plash,

Your ReadMeSrc.txt file states:
If you want that the odacvcl package does not require BDE packages, find and comment the following line in the Odac.inc file before you compile ODAC:
{$DEFINE BDESESSION}
In this case the TBDESession component will not be present in ODAC.
Q1: What are the negative consequences of eliminating the dependency on TBDESession component ?
Q2: If there aren't any, why not disable this dependency by default ?
Q3: Why is the Borland Database Engine required for Oracle Database anyway ?


Regards,
Horace

P.S.
The word "be" marked in red in the quote below is missing from the ReadMeSrc.txt file. This constitutes a grammatical error in English.

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

Post by Plash » Mon 24 Mar 2008 07:59

TBDESession component uses BDE units. So, bdertl package must be included in 'requires' clause of odacvcl package.
If you complile your application with runtime packages, and use odacvcl package, your should remove BDESESSION.
Otherwise you need to distribute bdertl package with your application.

TBDESession component is not disabled by default for compatibility with previous ODAC versions.

Post Reply