Homec4science

Expose Python DB API 2.0 exceptions and escape_string() to the clients so that…

Authored by Tibor Simko <tibor.simko@cern.ch> on Jun 20 2006, 09:36.

Description

Expose Python DB API 2.0 exceptions and escape_string() to the clients so that they can use and import them from here. Retry more safely the establishing of the database connection in case the database is down. (BTW, note that this version of persistence database connectivity is not thread-safe, we should replace it with the thread-friendly connection pool technique in the future.)

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:1b62d846e773: Expose Python DB API 2.0 exceptions and escape_string() to the clients so that… (authored by Tibor Simko <tibor.simko@cern.ch>).Jun 20 2006, 09:36