From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA21609; Mon, 27 Oct 2003 17:44:09 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA09611 for ; Mon, 27 Oct 2003 17:44:08 +0100 (MET) Received: from tweli.aber.ac.uk (tweli.aber.ac.uk [144.124.16.41]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9RGi6124743 for ; Mon, 27 Oct 2003 17:44:06 +0100 (MET) Received: from localhost.localdomain ([127.0.0.1] helo=tweli.aber.ac.uk) by tweli.aber.ac.uk with esmtp (Exim 4.20) id 1AEATH-0002Ur-Bg; Mon, 27 Oct 2003 16:43:59 +0000 Received: from pcsbf.dcs.aber.ac.uk ([193.60.10.80] helo=aber.ac.uk) by tweli.aber.ac.uk with esmtp (Exim 4.20) id 1AEASp-0002T1-Az; Mon, 27 Oct 2003 16:43:31 +0000 Message-ID: <3F9D4B20.1080105@aber.ac.uk> Date: Mon, 27 Oct 2003 16:43:12 +0000 From: Sebastien Ferre Organization: UWA, Computer Science User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: caml-list@inria.fr, alex@baretta.com Subject: Re: [Caml-list] Ocamlodbc References: <3F9D1E71.7050102@baretta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Sophos-Scanned: from sbf@aber.ac.uk virus scanned OK X-UWA-Mid: 1AEASp-0002T1-Az X-UWA-Originating-IP: 193.60.10.80 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; aber:99 caml-list:01 ocamlodbc:01 implemented:01 baretta:01 interfacing:01 ocamlodbc:01 unixodbc:01 libpq:01 aber:99 ocaml:01 ocaml:01 alex:01 alex:01 native:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I recently implemented an access to Oracle for OCaml. I just use the free C library libsqlora8, which provides an easy interface to Oracle, and wrap it in a OCaml module. The interface is simple, and probably limited, but I think it is suitable to most uses. The C library is available at http://www.poitschke.de/libsqlora8/. I can give you the wrapping code (a C file + a ML file), if you wish. Hope this helps, Sebastien Alex Baretta wrote: > I'm working on interfacing a piece of Ocaml code with an Oracle dbms. I > noticed that Ocamlodbc does support Oracle, and I've been able to build > both the unixodbc and the ocamlodbc/oraclecfo libraries. I'd like to > know what C client libraries/ODBC drivers i need for Oracle to work with > ocamlodbc. > > Also, does anyone know if there is a "native" client library for Oracle > à la libpq de PostgreSQL? > > Alex -- Sebastien B. Ferre Computer Science, University of Wales, Aberystwyth, UK Email: sbf@aber.ac.uk Url: http://users.aber.ac.uk/sbf ------------------- 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