 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Stewart Bourke Guest
|
Posted: Sun Feb 13, 2005 9:04 pm Post subject: supporting multiple databases |
|
|
I am looking for general opinions from anybody who has used dbExpress to
support multiple database engines successfully. Although dbExpress only
technically requires the change of a connection string, there are always
issues to do with things like datatypes (especially when it comes to things
like date/datetime/timestamp fields) or sql dialects.
For example, if I wanted to support Interbase, Firebird, Informix and DB2 -
given that dbExpress has driver for all these - if anybody has had any
actual experience in implementing engines that support multiple databases I
would be very interested. I would also be very interested in any feedback
there would be about using things like DataAbstract from RemObjects (or any
other such platforms for introducing database independence).
Any feedback etc would be very much appreciated.
Thanks,
Stewart Bourke
|
|
| Back to top |
|
 |
Thomas Miller Guest
|
Posted: Sun Feb 13, 2005 10:26 pm Post subject: Re: supporting multiple databases |
|
|
You will need to use dbExpressPlus.
Stewart Bourke wrote:
| Quote: | I am looking for general opinions from anybody who has used dbExpress to
support multiple database engines successfully. Although dbExpress only
technically requires the change of a connection string, there are always
issues to do with things like datatypes (especially when it comes to things
like date/datetime/timestamp fields) or sql dialects.
For example, if I wanted to support Interbase, Firebird, Informix and DB2 -
given that dbExpress has driver for all these - if anybody has had any
actual experience in implementing engines that support multiple databases I
would be very interested. I would also be very interested in any feedback
there would be about using things like DataAbstract from RemObjects (or any
other such platforms for introducing database independence).
Any feedback etc would be very much appreciated.
Thanks,
Stewart Bourke
|
--
Thomas Miller
Wash DC Delphi SIG Chairperson
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork
http://www.bss-software.com
http://www.cpcug.org/user/delphi/index.html
https://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus
|
|
| Back to top |
|
 |
Jan Doggen Guest
|
Posted: Mon Feb 14, 2005 10:05 am Post subject: Re: supporting multiple databases |
|
|
Hello Stewart
I have a large app that handles either an Oracle or MSSQL datamart. I has a
smaller companion app that reads MSSQL, Oracle, and DB2. That certainly is
do-able.
There were some specific dbExpress issues that I ran across like handling
Integer and BCD persistent fields. Also there's (always) the non-DbExpress
specific stuff like how does the app handle NULLs, there are different
non-compatible field types (I love the DB2 'FOR BIT DATA' fields - not!). I
have no experience with recent versions of Interbase/Firebird.
Transactions are a PITA. I later tried to write them into the app, but threw
them out again, because of two reasons (both not dbExpress issues):
- MSSQL server (the OLEDB provider) has trouble when you're using
forward-only cursors as well as bidirectional one
- Oracle can't mix DDL and DML statement
Bye
Jan
"Stewart Bourke" <stewartbourke_nospam_at_eircom.net> wrote
| Quote: | I am looking for general opinions from anybody who has used dbExpress to
support multiple database engines successfully. Although dbExpress only
technically requires the change of a connection string, there are always
issues to do with things like datatypes (especially when it comes to
things
like date/datetime/timestamp fields) or sql dialects.
For example, if I wanted to support Interbase, Firebird, Informix and
DB2 -
given that dbExpress has driver for all these - if anybody has had any
actual experience in implementing engines that support multiple databases
I
would be very interested. I would also be very interested in any feedback
there would be about using things like DataAbstract from RemObjects (or
any
other such platforms for introducing database independence).
Any feedback etc would be very much appreciated.
Thanks,
Stewart Bourke
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|