Delphi – How to access databases from within Delphi XE Professional IDE

configurationdatabasedelphidelphi-xefirebird

I cannot access ANY database by ANY means from within Delphi XE Professional. What I mean by accessing the data base is:

  1. having the live database appear via
    components in the Object Inspector,
    when the connected property is set
    to true
  2. using the Data Explorer to create
    and explore database connections

EDIT:
SORTED !!

The core problem is that communication into the database, including specifically the communication generated by the IDE and any code built using the drivers was problematic.

Confounding and masking sub-issues were:

  1. Missing or misplaced DLLs.
  2. The Data Explorer does not fully support dbExpress drivers.
  3. There is a bug within the 2009 IDE code, found by Chee-Yang Chau when writing the dbxFirebird driver, which limits static linking of drivers into Delphi. It is not known if this bug extends to 2010 or XE.
  4. When using the Object Inspector, it is easy to cause the IDE to revert changed connection parameters to their default values.
  5. Some drivers had incorrect default values (eg assuming the client dll was always gdb32.dll irrespective of whether the database was Interbase or Firebird).
  6. Installation of two versions of Interbase led to some clashes in database communication – server names generated by the tools were odd; and the view of the databases depended on which installation of the Interbase tools were used.
  7. The documentation available is of varying dates; refers to different versions; and as a result often appears contradictory.

END EDIT:

Approaches tried:

  1. Multiple databases
  2. Multiple different drivers/components
  3. Accessing the database through other external tools, such as IBSQL and Flame Robin.
  4. Raising questions (here and here) on SO.
  5. Raising questions on the support forums for Firebird, Embarcardo, and Flame Robin.

Environment:

  1. OS: Windows 7 Ultimate 64bit:
  2. Delphi Embarcadero® RAD Studio XE Professional Version 15.0.3953.35171
  3. Database: W1-V2.5.0.26074 Firebird 2.5 (64 bit)
  4. Connection technology: dbExpress

Best Answer

Delphi Professional does not support Firebird with the native dbExpress drivers that come with Delphi. You need the Enterprise or Architect version of Delphi in order for the native firebird dbExpress driver to work.

I have Delphi 2010 Professional. I didn't want to spend the extra money on the E or A version and I failed to read the feature matrix to see that the Firebird dbExpress driver is not available with the Pro version.

I have found a few really nice videos that show how to connect to Firebird using Delphi. However, when I tried to follow along with my Professonal version nothing worked.

Shame on me and more shame on Embarcadero for touting that Delphi supports Firebird in big bold print but not mentioning that you need the Enterprise or Architect version except in the tiny fine print.

Related Topic