BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

supporting multiple databases

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Stewart Bourke
Guest





PostPosted: Sun Feb 13, 2005 9:04 pm    Post subject: supporting multiple databases Reply with 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
Thomas Miller
Guest





PostPosted: Sun Feb 13, 2005 10:26 pm    Post subject: Re: supporting multiple databases Reply with quote



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





PostPosted: Mon Feb 14, 2005 10:05 am    Post subject: Re: supporting multiple databases Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.