// file : odb/oracle/auto-handle.cxx // copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC // license : ODB NCUEL; see accompanying LICENSE file #include #include namespace odb { namespace oracle { void oci_handle_free (void* h, ub4 t) { OCIHandleFree (h, t); } void handle_traits:: release (OCISvcCtx* h, OCIError* e) { OCISessionRelease (h, e, 0, 0, OCI_DEFAULT); } void handle_traits:: release (OCIStmt* h, ub4 m, OCIError* e) { OCIStmtRelease (h, e, 0, 0, m); } const ub4 handle_type_traits::htype = OCI_HTYPE_ENV; const ub4 handle_type_traits::htype = OCI_HTYPE_ERROR; const ub4 handle_type_traits::htype = OCI_HTYPE_SVCCTX; const ub4 handle_type_traits::htype = OCI_HTYPE_STMT; const ub4 handle_type_traits::htype = OCI_HTYPE_AUTHINFO; const ub4 handle_type_traits::htype = OCI_HTYPE_TRANS; } }