Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] sybase interface?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-04-12 (23:46)
From: Vitaly Lugovsky <vsl@o...>
Subject: Re: DBI (was : [Caml-list] sybase interface?)
On Fri, 11 Apr 2003, Christophe TROESTLER wrote:

> A while ago, it was said on this list that a common database
> interface
> (? la Perl DBI) would be nice.

 Nice? May be. But impossible. E.g., for Oracle you have to use
prepared statements with variables substitution, when in
Postgres there is no need to mess with this stuff - performance
is good enough if you create a new statement for every request.

 Postgres have asyncronous messages. OCI don't. Other database
interfaces could be even more different...

> Are there people interested on this list?  Personally I don't
> have
> much time to contribute but as I will be soon in need of using
> DB, I
> am willing to make an effort.

 I have no problems in using two quite different APIs in a
mid-layer - Oracle and Postgres. And I don't think I'll ever will
try to use any kind of generic interface. I ate this shit with
JDBC, and I don't want it any more...

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: