Class TODBCConnection

Unit

Declaration

type TODBCConnection = class(TSQLConnection, iblobconnection)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected procedure ODBCCheckResult( LastReturnCode:SQLRETURN; HandleType:SQLSMALLINT; AHandle: SQLHANDLE; ErrorMsg: string); overload;
Protected procedure ODBCCheckResult( LastReturnCode:SQLRETURN; HandleType:SQLSMALLINT; AHandle: SQLHANDLE; ErrorMsg: string; const values: array of const); overload;
Protected function GetHandle:pointer; override;
Protected procedure DoInternalConnect; override;
Protected procedure DoInternalDisconnect; override;
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 updaterowcount(const acursor: todbccursor);
Protected procedure internalExecute(const cursor:TSQLCursor; const ATransaction:TSQLTransaction; const AParams:TmseParams; const autf8: boolean); override;
Protected procedure internalexecuteunprepared(const cursor: tsqlcursor; const atransaction: tsqltransaction; const asql: string; const origsql: msestring; const aparams: tmseparams); override;
Protected function CreateBlobStream(const Field: TField; const Mode: TBlobStreamMode; const acursor: tsqlcursor): TStream; override;
Protected procedure UpdateIndexDefs(var IndexDefs:TIndexDefs; const aTableName:string; const acursor: tsqlcursor); override;
Protected function GetSchemaInfoSQL(SchemaType:TSchemaType; SchemaObjectName, SchemaObjectPattern:msestring):msestring; override;
Protected function CreateConnectionString:string;
Protected function getblobdatasize: integer; 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);
Protected procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam);
Public constructor create(aowner: tcomponent); 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 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 procedure FreeFldBuffers(cursor:TSQLCursor); override;

Properties

Public property Environment: TODBCEnvironment read FEnvironment;
Published property Driver: string read FDriver write FDriver;
Published property FileDSN: string read FFileDSN write FFileDSN;
Published property Password;
Published property Transaction;
Published property UserName;
Published property CharSet;
Published property HostName;
Published property Connected;
Published property Role;
Published property DatabaseName;
Published property KeepConnection;
Published property Params;
Published property ongetcredentials;

Description

Methods

Protected procedure ODBCCheckResult( LastReturnCode:SQLRETURN; HandleType:SQLSMALLINT; AHandle: SQLHANDLE; ErrorMsg: string); overload;

This item has no description.

Protected procedure ODBCCheckResult( LastReturnCode:SQLRETURN; HandleType:SQLSMALLINT; AHandle: SQLHANDLE; ErrorMsg: string; const values: array of const); overload;

This item has no description.

Protected function GetHandle:pointer; override;

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 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 updaterowcount(const acursor: todbccursor);

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 internalexecuteunprepared(const cursor: tsqlcursor; const atransaction: tsqltransaction; const asql: string; const origsql: msestring; const aparams: tmseparams); 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 procedure UpdateIndexDefs(var IndexDefs:TIndexDefs; const aTableName:string; const acursor: tsqlcursor); override;

This item has no description.

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

This item has no description.

Protected function CreateConnectionString:string;

This item has no description.

Protected function getblobdatasize: integer; 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);

This item has no description.

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

This item has no description.

Public constructor create(aowner: tcomponent); 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 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 procedure FreeFldBuffers(cursor:TSQLCursor); override;

This item has no description.

Properties

Public property Environment: TODBCEnvironment read FEnvironment;

This item has no description.

Published property Driver: string read FDriver write FDriver;

This item has no description.

Published property FileDSN: string read FFileDSN write FFileDSN;

This item has no description.

Published property Password;

This item has no description.

Published property Transaction;

This item has no description.

Published property UserName;

This item has no description.

Published property CharSet;

This item has no description.

Published property HostName;

This item has no description.

Published property Connected;

This item has no description.

Published property Role;

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.