Class tfb3connection
Unit
Declaration
type tfb3connection = class(tcustomsqlconnection, iblobconnection, idbevent, idbeventcontroller)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- TCustomConnection
- tmdatabase
- tcustomsqlconnection
- tfb3connection
Overview
Fields
| Protected | fapi: fbapity; |
| Protected | fattachment: iattachment; |
| Protected | feventcallback: tfbeventcallback; |
| Protected | feventcontroller: tdbeventcontroller; |
| Protected | feventitems: array of fbeventinfoty; |
| Protected | fevents: ievents; |
| Protected | flistencount: int32; |
| Protected | feventcount: int32; |
| Protected | feventlength: int32; |
| Protected | feventbuffer: pbyte; |
| Protected | feventcountbuffer: array of ULONG; |
Methods
| Protected | function getpb(const akind: paramblockkindty): ixpbbuilder; |
| Protected | function buildpb(const akind: paramblockkindty; const ainfo: pparaminfoty; const acount: int32; const aparams: tstringlist; const force: boolean): ixpbbuilder; |
| Protected | procedure clearstatus(); inline; |
| Protected | function statusok(): boolean; inline; |
| Protected | procedure checkstatus(const aerrormessage: msestring); |
| Protected | procedure dointernalconnectoverride; |
| Protected | procedure dointernaldisconnectoverride; |
| Protected | function allocatetransactionhandle: tsqlhandle override; |
| Protected | function gettransactionhandle(trans : tsqlhandle): pointer override; |
| Protected | function startdbtransaction(const trans : tsqlhandle; const aparams : tstringlist) : boolean override; |
| Protected | function commit(trans : tsqlhandle) : boolean override; |
| Protected | function rollback(trans : tsqlhandle) : boolean override; |
| Protected | procedure internalcommitretaining(trans : tsqlhandle) override; |
| Protected | procedure internalrollbackretaining(trans : tsqlhandle) override; |
| Protected | procedure cursorclose(const cursor: tfbcursor); |
| Protected | procedure updateresultmetadata(const acursor: tfbcursor; const outmetadata: pimessagemetadata); |
| Protected | procedure internalexecute(const cursor: tsqlcursor; const atransaction: tsqltransaction; const aparams : tmseparams; const autf8: boolean) 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 updateevents(const aerrormessage: msestring); |
| Protected | procedure clearevents(); |
| Protected | procedure loaded() override; |
| Protected | function readsequence(const sequencename: string): msestring override; |
| Protected | function sequencecurrvalue(const sequencename: string): msestring override; |
| Protected | function writesequence(const sequencename: string; const avalue: largeint): msestring override; |
| 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 | procedure createdatabase(const asql: ansistring); |
| Public | function allocatecursorhandle(const aowner: icursorclient; const aname: ansistring): tsqlcursor override; |
| Public | procedure deallocatecursorhandle(var cursor : tsqlcursor) override; |
| Public | procedure freefldbuffers(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 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 | function version: msestring; |
Properties
| Public | property lasterrormessage: msestring read flasterrormessage; |
| Public | property lastsqlcode: int32 read flastsqlcode; |
| Published | property dialect: integer read fdialect write fdialect
default sql_dialect_v6; |
| Published | property options: fbconnectionoptionsty read foptions
write foptions default []; |
| Published | property Transaction; |
| Published | property transactionwrite; |
| Published | property CharSet; |
| Published | property HostName; |
| Published | property controller; |
| Published | property DatabaseName: filenamety read getdatabasename write setdatabasename; |
| Published | property Connected: boolean read getconnected write setconnected default false; |
| Published | property Password; |
| Published | property UserName; |
| Published | property Role; |
| Published | property ongetcredentials; |
| Published | property afterconnect; |
| Published | property beforedisconnect; |
Description
Fields
| Protected | fapi: fbapity; |
|
This item has no description. | |
| Protected | fattachment: iattachment; |
|
This item has no description. | |
| Protected | feventcallback: tfbeventcallback; |
|
This item has no description. | |
| Protected | feventcontroller: tdbeventcontroller; |
|
This item has no description. | |
| Protected | feventitems: array of fbeventinfoty; |
|
This item has no description. | |
| Protected | fevents: ievents; |
|
This item has no description. | |
| Protected | flistencount: int32; |
|
This item has no description. | |
| Protected | feventcount: int32; |
|
This item has no description. | |
| Protected | feventlength: int32; |
|
This item has no description. | |
| Protected | feventbuffer: pbyte; |
|
This item has no description. | |
| Protected | feventcountbuffer: array of ULONG; |
|
This item has no description. | |
Methods
| Protected | function getpb(const akind: paramblockkindty): ixpbbuilder; |
|
This item has no description. | |
| Protected | function buildpb(const akind: paramblockkindty; const ainfo: pparaminfoty; const acount: int32; const aparams: tstringlist; const force: boolean): ixpbbuilder; |
|
This item has no description. | |
| Protected | procedure clearstatus(); inline; |
|
This item has no description. | |
| Protected | function statusok(): boolean; inline; |
|
This item has no description. | |
| Protected | procedure checkstatus(const aerrormessage: msestring); |
|
This item has no description. | |
| Protected | procedure dointernalconnectoverride; |
|
This item has no description. | |
| Protected | procedure dointernaldisconnectoverride; |
|
This item has no description. | |
| Protected | function allocatetransactionhandle: tsqlhandle override; |
|
This item has no description. | |
| Protected | function gettransactionhandle(trans : tsqlhandle): pointer override; |
|
This item has no description. | |
| Protected | function startdbtransaction(const trans : tsqlhandle; const aparams : tstringlist) : boolean 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 | procedure internalcommitretaining(trans : tsqlhandle) override; |
|
This item has no description. | |
| Protected | procedure internalrollbackretaining(trans : tsqlhandle) override; |
|
This item has no description. | |
| Protected | procedure cursorclose(const cursor: tfbcursor); |
|
This item has no description. | |
| Protected | procedure updateresultmetadata(const acursor: tfbcursor; const outmetadata: pimessagemetadata); |
|
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 | 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 updateevents(const aerrormessage: msestring); |
|
This item has no description. | |
| Protected | procedure clearevents(); |
|
This item has no description. | |
| Protected | procedure loaded() override; |
|
This item has no description. | |
| Protected | function readsequence(const sequencename: string): msestring override; |
|
This item has no description. | |
| Protected | function sequencecurrvalue(const sequencename: string): msestring override; |
|
This item has no description. | |
| Protected | function writesequence(const sequencename: string; const avalue: largeint): msestring override; |
|
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 | procedure createdatabase(const asql: ansistring); |
|
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 freefldbuffers(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 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 | function version: msestring; |
|
This item has no description. | |
Properties
| Public | property lasterrormessage: msestring read flasterrormessage; |
|
This item has no description. | |
| Public | property lastsqlcode: int32 read flastsqlcode; |
|
This item has no description. | |
| Published | property dialect: integer read fdialect write fdialect
default sql_dialect_v6; |
|
This item has no description. | |
| Published | property options: fbconnectionoptionsty read foptions
write foptions default []; |
|
This item has no description. | |
| Published | property Transaction; |
|
This item has no description. | |
| Published | property transactionwrite; |
|
This item has no description. | |
| Published | property CharSet; |
|
This item has no description. | |
| Published | property HostName; |
|
This item has no description. | |
| Published | property controller; |
|
This item has no description. | |
| Published | property DatabaseName: filenamety read getdatabasename write setdatabasename; |
|
This item has no description. | |
| Published | property Connected: boolean read getconnected write setconnected default false; |
|
This item has no description. | |
| Published | property Password; |
|
This item has no description. | |
| Published | property UserName; |
|
This item has no description. | |
| Published | property Role; |
|
This item has no description. | |
| Published | property ongetcredentials; |
|
This item has no description. | |
| Published | property afterconnect; |
|
This item has no description. | |
| Published | property beforedisconnect; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.