clsql-fluid

CLSQL-Fluid is a backend for CLSQL that provides trivial SQL database connection thread-safety for most applications. It solves the problem of client code and DB-backed objects sharing a connection across threads, while still allowing that code and those objects to be thread-agnostic.

It was written to make the CLSQL backend to cl-Weblocks thread-safe, but should be useful for other applications employing database access and threads.

Porting code is almost always trivial; just instantiate fluid-database instead of calling connect.

While it is provided as a separate library, the preferred form of using it is to merge its Git branch.

More information is available on the common-lisp.net project page.

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively