// file : odb/oracle/query-dynamic.ixx // copyright : Copyright (c) 2005-2015 Code Synthesis Tools CC // license : ODB NCUEL; see accompanying LICENSE file namespace odb { namespace oracle { // // template inline query_column:: query_column (odb::query_column& qc, const char* table, const char* column, const char* conv, unsigned short prec, short scale) : query_column_base (table, column, conv, prec, scale) { native_column_info& ci (qc.native_info[id_oracle]); ci.column = static_cast (this); // For some reason GCC needs this statically-typed pointer in // order to instantiate the functions. // query_param_factory f (&query_param_factory_impl); ci.param_factory = reinterpret_cast (f); } template inline query_column:: query_column (odb::query_column& qc, const char* table, const char* column, const char*) : lob_query_column (table, column) { native_column_info& ci (qc.native_info[id_oracle]); ci.column = static_cast (this); // In Oracle LOBs cannot be compared. // ci.param_factory = 0; } template inline query_column:: query_column (odb::query_column& qc, const char* table, const char* column, const char*) : lob_query_column (table, column) { native_column_info& ci (qc.native_info[id_oracle]); ci.column = static_cast (this); // In Oracle LOBs cannot be compared. // ci.param_factory = 0; } template inline query_column:: query_column (odb::query_column& qc, const char* table, const char* column, const char*) : lob_query_column (table, column) { native_column_info& ci (qc.native_info[id_oracle]); ci.column = static_cast (this); // In Oracle LOBs cannot be compared. // ci.param_factory = 0; } } }