1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef anna_dbms_oracle_BaseBind_hpp
10 #define anna_dbms_oracle_BaseBind_hpp
19 #include <anna/dbms.oracle/Descriptor.hpp>
42 * NĂºmero de bytes reservados para un Float cuando se trata como si fuera una cadena.
44 static const int FloatSize = 63;
48 short unsigned int* length;
51 struct Blob : public Descriptor {
52 OCILobLocator* handle;
53 Blob() : Descriptor((dvoid**) &handle) {;}
55 struct DateTime : public Descriptor {
57 DateTime() : Descriptor((dvoid**) &handle) {;}
60 short a_nullIndicator;
61 unsigned short a_length;
62 anna::DataBlock* a_ofb; // Oracle Formatted Buffer.
66 BaseBind(const dbms::Data& data) ;
68 oci_param getOCIParam(Database&, Connection*, dbms::Data&) noexcept(false);
71 const Data::Type::_v a_type;