Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners