soenkehahn edited this page Jan 30, 2012 · 4 revisions


Welcome to HDBC, Haskell Database Connectivity.

HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)

HDBC is modeled loosely on Perl's DBI interface, though it has also been influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell.

HDBC is a from-scratch effort. It is not a reimplementation of HSQL, though its purpose is the same.

HDBC has many features.

HDBC was originally written by John Goerzen. It is licensed under a BSD3 license.

Starting Points

Downloads: Source and Binaries

  • Source downloads are available from the HDBC Hackage page
  • The latest development trees are available via the Github project page
  • You can find Debian packages from the HDBC Debian Page
  • RPMs and packages for many other Linux and BSD distributions are also included with your distribution.

Contributing to HDBC

Contributions to HDBC are always welcome. If you'd like to send a patch, then please fork the git repository, and submit a pull request via github.

In addition, here are some notes for developers:

Mailing List

Questions and discussions about HDBC can be sent to the haskell-cafe. Gmane has made available excellent archives of this list as well.