Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell & Oracle

I reviewed different means for connecting to oracle db from Haskell. I found one, ODBC. Ideally, I wish to use an oracle client to connect. Do you know any other way?

Thank you.

like image 467
Anton Avatar asked Feb 28 '23 03:02

Anton


2 Answers

Takusen provides direct access to Oracle DBs, however, the ODBC-enabled libraries, such as HDBC may be easier to use.

Look on Hackage for more options.

like image 154
Don Stewart Avatar answered Mar 07 '23 17:03

Don Stewart


I have written an Oracle driver for HDBC largely inspired by Takusen and HSQL. It uses Oracle's OCI library for interfacing with the database.

I consider it experimental for now. But if you want to try it, you can find a darcs repo for it at http://thiagoarrais.com/repos/hdbc-oracle/.

like image 44
Thiago Arrais Avatar answered Mar 07 '23 18:03

Thiago Arrais