[fpc-pascal]Common database access in Pascal

Florian Klaempfl Florian.Klaempfl at gmx.de
Tue Jul 16 18:37:25 CEST 2002

At 16:41 16.07.2002 +0200, you wrote:
>   I was wondering whether someone here knows if there's some sort of
>unit which provides some (basic) methods for common database access
>across different database systems for (free-)pascal/delphi using
>I know that there are several header translations for Interbase, MySQL
>etc. out there, but I didn't succeed in finding a unit/package providing
>a common interface to do connection management, updates, selects and the
>likes. I.e. something like the JDBC interface (java) or PEAR library
>(php) for other (script-)languages which provide imo quite easy to use
>classes/objects without having to worry much about specific
>implementation details.
>Some googling didn't yield much results, so I wanted to ask here whether
>I'm simply looking in the wrong places (ignorant of obvious solutions)
>or if there's really nothing available in this respect.
>Or even better, one of you has already implemented such a unit and wants
>to share it....
>This package I'm currently searching for should provide, if there exists
>something like this, the following functionality:
>- connecting/disconnecting to database
>- transaction handling (basically turning on/off, commiting and
>- execute updates/selects (e.g. sending a query to the database)

What about the db components of the vcl/fcl? Though I don't know
if they support transactions and how far the fcl implementation is,
I don't know exactly either.

Just check fcl/db

More information about the fpc-pascal mailing list