oralib  0.0.2
Classes | Variables
Oracle Namespace Reference

Oracle OCCI wrapper classes. More...

Classes

class  OracleEnv
 Encapsulate the occi::Environment class. More...
 
class  Nexus
 Encapsulate the occi::Connection class. More...
 
class  SQL
 Encapsulate the occi::Statement class. More...
 
class  Results
 Encapsulate the occi::ResultSet class. More...
 

Variables

const char * Version = "oralib 2.3"
 

Detailed Description

Oracle OCCI wrapper classes.

The Oracle OCCI library classes require disjoint object creation and destruction through library function calls. Since destruction is not automatic with the the unwinding of a stack frame, applications will tend to have memory leaks due to not being exception safe. Additionally, having programmers take the responsibility of explicitly destroying objects is not ideal. The classes in this namespace wrap a counterpart OCCI class to automatically manage object destruction. You can always use the '()' operator on each to get to the underlying OCCI object.

Note
occi::Environment -> Oracle::OracleEnv occl::Connection -> Otacle::Nexus occi::Statement -> Oracle::SQL occi::ResultSet -> Oracle::Results
All objects that are used to create other objects must stay in scope for the entire lifetime of the created objects.