Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Custom FireDAC driver


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Oct 14, 2014 9:32 PM Last Post By: Dmitry Arefiev
Enrico Visconti

Posts: 3
Registered: 11/10/14
Custom FireDAC driver  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2014 7:24 AM
Is there any way for creating and distributing a custom FireDAC driver? The driver list seems to be hardcoded and I couldn't find any configuration option for loading a custom driver, just like I used to have with DBX (DriverUnit, DriverPackageLoader, etc). How could I setup and load a custom FireDAC driver?
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: Custom FireDAC driver  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2014 8:07 AM   in response to: Enrico Visconti in response to: Enrico Visconti
How could I setup and load a custom FireDAC driver?

This is not documented and is not supported.
But do you really need to create your own driver ? For what data source ?

--
With best regards,
Dmitry Arefiev / FireDAC Architect
Enrico Visconti

Posts: 3
Registered: 11/10/14
Re: Custom FireDAC driver  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2014 10:25 AM   in response to: Dmitry Arefiev in response to: Dmitry Arefiev
I work for FairCom and we have SQL and NoSQL access to our data manager product named c-tree. We have customized TTable component (VCL) for our NoSQL access and DBX driver since Delphi 4. We developed our DBX4.0 driver and it was nice the way we could install it and add its support by configuration on the Embarcadero IDE. I had a look at the FireDAC source code for the PHYS interface and it is supposed to be similar to us to develop our native FairDAC driver. But I noticed that differently from the DBX framework, the list of supported drivers looks hardcoded?! We have customers that uses both of our TTable and DBX native implementations requesting for FireDAC support.

Dmitry Arefiev wrote:
How could I setup and load a custom FireDAC driver?

This is not documented and is not supported.
But do you really need to create your own driver ? For what data source ?

--
With best regards,
Dmitry Arefiev / FireDAC Architect
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: Custom FireDAC driver  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 9:32 PM   in response to: Enrico Visconti in response to: Enrico Visconti
But I noticed that differently from the DBX framework, the list of supported drivers looks hardcoded?! We have customers that uses both of our TTable and DBX native implementations requesting for FireDAC support.

Yes, at moment the list of the drivers is hardcoded, in the sense that there
are TFDRDBMSKind enum type and several "array [TFDRDBMSKind]...".
Because here never was requests for 3d party drivers. If that is needed,
then you can log your feature request into QC.

--
With best regards,
Dmitry Arefiev / FireDAC Architect
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02