Vadim Zeitlin 43c133be13 Add session::is_connected() function
This function can be used to check if the connection to the server is
still available (and then, perhaps, call reconnect(), if it isn't).

Implement it for all backends using native API (except for SQLite for
which it always returns true).
2020-10-13 01:05:51 +02:00
2020-10-13 01:05:51 +02:00
2020-10-13 01:05:51 +02:00
2019-09-20 18:42:29 +02:00

SOCI - The C++ Database Access Library

GitHub release GitHub commits

Website SourceForge

Gitter Mailing Lists StackExchange

Build Status

Branches Travis-CI AppVeyor-CI Documentation Coverity Scan
master Build Status Build status Docs Status Coverage
release/4.0 Build Status Build status Docs Status
release/3.2 Build Status Build status

History

Originally, SOCI was developed by Maciej Sobczak at CERN as abstraction layer for Oracle, a Simple Oracle Call Interface. Later, several database backends have been developed for SOCI, thus the long name has lost its practicality. Currently, if you like, SOCI may stand for Simple Open (Database) Call Interface or something similar.

"CERN is also a user of the SOCI library, which serves as a database access layer in some of the control system components."

-- Maciej Sobczak at Inspirel

License

SOCI library is distributed under the terms of the Boost Software License.

Requirements

Core:

  • C++ compiler
  • Boost C++ Libraries (optional, headers and Boost.DateTime)

Backend specific client libraries for:

  • DB2
  • Firebird
  • MySQL
  • ODBC with specific database driver
  • Oracle
  • PostgreSQL
  • SQLite 3

See documentation at soci.sourceforge.net for details

BSL © Maciej Sobczak and contributors.

Description
Official repository of the SOCI - The C++ Database Access Library
Readme 66 MiB
Languages
C++ 90.1%
Ada 3.4%
CMake 3.2%
Shell 2%
HTML 0.9%
Other 0.3%