Scaladbc

Update

Scala DBC2 seems to be in a state of orphanage.

There are newer attempts in this space, such as, scala-query and orbroker, which are likely to give you better mileage.

Scala Data base connector version 2

The DBC library comes packaged along with Scala (Look under $(scala-distribution)/src/).

There's a newer, unreleased, version called DBC2 available here. But it appears to be unmaintained.

The download available as an attachment to this page is a simple fix to the above, to get it in a working shape.

Compilation

The source can be built with SBT

Demo

See the file demo/demo.scala inside the package. It shows how to create, update and query a Derby database (requires Apache Derby to be in the class path).

Acknowledgement

The original authors did all the work. I just fixed some typos and stuff.