Class TIBConnection

Unit

Declaration

type TIBConnection = class(TSQLConnection, iblobconnection, idbevent, idbeventcontroller)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected procedure freeeventbuffer(var abuffer: pfbeventbufferty);
Protected procedure DoInternalConnect; override;
Protected procedure DoInternalDisconnect; override;
Protected function GetHandle: pointer; override;
Protected Function AllocateTransactionHandle: TSQLHandle; override;
Protected procedure internalExecute(const cursor: TSQLCursor; const atransaction: tsqltransaction; const AParams : TmseParams; const autf8: boolean); override;
Protected function fetch1(const cursor: tibcursor) : boolean;
Protected function GetTransactionHandle(trans : TSQLHandle): pointer; override;
Protected function Commit(trans : TSQLHandle) : boolean; override;
Protected function RollBack(trans : TSQLHandle) : boolean; override;
Protected function StartdbTransaction(const trans : TSQLHandle; const AParams : tstringlist) : boolean; override;
Protected procedure internalCommitRetaining(trans : TSQLHandle); override;
Protected procedure internalRollBackRetaining(trans : TSQLHandle); override;
Protected procedure UpdateIndexDefs(var IndexDefs : TIndexDefs; const aTableName : string; const acursor: tsqlcursor); override;
Protected function GetSchemaInfoSQL(SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : msestring) : msestring; override;
Protected function CreateBlobStream(const Field: TField; const Mode: TBlobStreamMode; const acursor: tsqlcursor): TStream; override;
Protected function getblobdatasize: integer; override;
Protected procedure writeblobdata(const atransactionhandle: pointer; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string); overload;
Protected procedure writeblobdata(const atransaction: tsqltransaction; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string); overload;
Protected procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam);
Protected procedure listen(const sender: tdbevent);
Protected procedure unlisten(const sender: tdbevent);
Protected procedure fire(const sender: tdbevent);
Protected function getdbevent(var aname: string; var aid: int64): boolean;
Protected procedure dolisten(const sender: tdbevent);
Protected procedure dounlisten(const sender: tdbevent);
Public constructor Create(AOwner : TComponent); override;
Public destructor destroy; override;
Public Function AllocateCursorHandle(const aowner: icursorclient; const aname: ansistring): TSQLCursor; override;
Public Procedure DeAllocateCursorHandle(var cursor : TSQLCursor); override;
Public procedure preparestatement(const cursor: tsqlcursor; const atransaction : tsqltransaction; const asql: msestring; const aparams : tmseparams); override;
Public procedure UnPrepareStatement(cursor : TSQLCursor); override;
Public procedure FreeFldBuffers(cursor : TSQLCursor); override;
Public procedure AddFieldDefs(const cursor: TSQLCursor; const FieldDefs : TfieldDefs); override;
Public function Fetch(cursor : TSQLCursor) : boolean; override;
Public function loadfield(const cursor: tsqlcursor; const datatype: tfieldtype; const fieldnum: integer; const buffer: pointer; var bufsize: integer; const aisutf8: boolean): boolean; override;
Public function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override;
Public procedure createdatabase(const asql: ansistring);
Public function version: fbversionty;

Properties

Public property lasterror: statusvectorty read flasterror;
Public property lasterrormessage: msestring read flasterrormessage;
Public property lastsqlcode: integer read flastsqlcode;
Published property Dialect : integer read FDialect write FDialect default 0;
Published property options: ibconnectionoptionsty read foptions write foptions default [];
Published property DatabaseName;
Published property KeepConnection;
Published property Params;
Published property ongetcredentials;

Description

Methods

Protected procedure freeeventbuffer(var abuffer: pfbeventbufferty);

This item has no description.

Protected procedure DoInternalConnect; override;

This item has no description.

Protected procedure DoInternalDisconnect; override;

This item has no description.

Protected function GetHandle: pointer; override;

This item has no description.

Protected Function AllocateTransactionHandle: TSQLHandle; override;

This item has no description.

Protected procedure internalExecute(const cursor: TSQLCursor; const atransaction: tsqltransaction; const AParams : TmseParams; const autf8: boolean); override;

This item has no description.

Protected function fetch1(const cursor: tibcursor) : boolean;

This item has no description.

Protected function GetTransactionHandle(trans : TSQLHandle): pointer; override;

This item has no description.

Protected function Commit(trans : TSQLHandle) : boolean; override;

This item has no description.

Protected function RollBack(trans : TSQLHandle) : boolean; override;

This item has no description.

Protected function StartdbTransaction(const trans : TSQLHandle; const AParams : tstringlist) : boolean; override;

This item has no description.

Protected procedure internalCommitRetaining(trans : TSQLHandle); override;

This item has no description.

Protected procedure internalRollBackRetaining(trans : TSQLHandle); override;

This item has no description.

Protected procedure UpdateIndexDefs(var IndexDefs : TIndexDefs; const aTableName : string; const acursor: tsqlcursor); override;

This item has no description.

Protected function GetSchemaInfoSQL(SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : msestring) : msestring; override;

This item has no description.

Protected function CreateBlobStream(const Field: TField; const Mode: TBlobStreamMode; const acursor: tsqlcursor): TStream; override;

This item has no description.

Protected function getblobdatasize: integer; override;

This item has no description.

Protected procedure writeblobdata(const atransactionhandle: pointer; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string); overload;

This item has no description.

Protected procedure writeblobdata(const atransaction: tsqltransaction; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string); overload;

This item has no description.

Protected procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam);

This item has no description.

Protected procedure listen(const sender: tdbevent);

This item has no description.

Protected procedure unlisten(const sender: tdbevent);

This item has no description.

Protected procedure fire(const sender: tdbevent);

This item has no description.

Protected function getdbevent(var aname: string; var aid: int64): boolean;

This item has no description.

Protected procedure dolisten(const sender: tdbevent);

This item has no description.

Protected procedure dounlisten(const sender: tdbevent);

This item has no description.

Public constructor Create(AOwner : TComponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public Function AllocateCursorHandle(const aowner: icursorclient; const aname: ansistring): TSQLCursor; override;

This item has no description.

Public Procedure DeAllocateCursorHandle(var cursor : TSQLCursor); override;

This item has no description.

Public procedure preparestatement(const cursor: tsqlcursor; const atransaction : tsqltransaction; const asql: msestring; const aparams : tmseparams); override;

This item has no description.

Public procedure UnPrepareStatement(cursor : TSQLCursor); override;

This item has no description.

Public procedure FreeFldBuffers(cursor : TSQLCursor); override;

This item has no description.

Public procedure AddFieldDefs(const cursor: TSQLCursor; const FieldDefs : TfieldDefs); override;

This item has no description.

Public function Fetch(cursor : TSQLCursor) : boolean; override;

This item has no description.

Public function loadfield(const cursor: tsqlcursor; const datatype: tfieldtype; const fieldnum: integer; const buffer: pointer; var bufsize: integer; const aisutf8: boolean): boolean; override;

This item has no description.

Public function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override;

This item has no description.

Public procedure createdatabase(const asql: ansistring);

This item has no description.

Public function version: fbversionty;

This item has no description.

Properties

Public property lasterror: statusvectorty read flasterror;

This item has no description.

Public property lasterrormessage: msestring read flasterrormessage;

This item has no description.

Public property lastsqlcode: integer read flastsqlcode;

This item has no description.

Published property Dialect : integer read FDialect write FDialect default 0;

This item has no description.

Published property options: ibconnectionoptionsty read foptions write foptions default [];

This item has no description.

Published property DatabaseName;

This item has no description.

Published property KeepConnection;

This item has no description.

Published property Params;

This item has no description.

Published property ongetcredentials;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.