/occi11

Reliable Oracle C++ Call Interface (OCCI) wrapper for C++11 with auto-reconnect-and-retry and exception-handling

Primary LanguageC++GNU General Public License v3.0GPL-3.0

occi11

Reliable Oracle C++ Call Interface Wrapper for C++11 with Exception Handling

Introduction

This project is proposed to deliver a reliable behaviour when executing SQL statements on Oracle databases. Bad behaviour may happen when connection is lost while in the middle of statement execution, when a custom user exception is thrown from PL/SQL code and when a database role is violated.

The code uses lambda expressions feature of the C++11, i.e. we put the statement we want to be executed as the first argument to functions, and put success, query and error handlers as optional arguments.

Prerequisites