FireDAC.Comp.Client.TFDCustomConnection.CliObj
Delphi
property CliObj: Pointer read GetCliObj;
C++
__property void * CliObj = {read=GetCliObj};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomConnection |
Description
Returns a CLI connection wrapping object.
The CliObj property returns a DBMS Call Level Interface connection wrapping object. The object's class depends on the FireDAC driver. The following table lists drivers, connection wrapping classes, and units. The wrapping object can be useful for performing low-level operations with the DBMS Call Level Interface.
Driver |
Wrapping class and unit |
---|---|
Advantage |
TFDSConnection, FireDAC.Phys.ADSWrapper.pas |
dbExpress (v <= 3) |
ISQLConnection |
InterBase, Firebird |
TIBDatabase, FireDAC.Phys.IBWrapper.pas |
MySQL |
TMySQLSession, FireDAC.Phys.MySQLWrapper.pas |
Microsoft SQL Server |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
Microsoft Access |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
IBM DB2 |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
Sybase SQL Anywhere |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
ODBC |
TODBCConnection, FireDAC.Phys.ODBCWrapper.pas |
Oracle |
TOCIService, FireDAC.Phys.OracleWrapper.pas |
PostgreSQL |
TPgConnection, FireDAC.Phys.PgWrapper.pas |
SQLite |
TSQLiteDatabase, FireDAC.Phys.SQLiteWrapper.pas |
TDBX (v >= 4) |
TDBXConnection, FireDAC.Phys.TDBX.pas |
DataSnap |
TDBXConnection, FireDAC.Phys.TDBX.pas |
MongoDB |
TMongoConnection, FireDAC.Phys.MongoDBWrapper.pas |
Example
uses
FireDAC.Phys.ODBCWrapper;
....
// returns the ODBC driver DLL name for an ODBC-based connection
ShowMessage(TODBCConnection(FDConnection1.CliObj).DRIVER_NAME);