16 #pragma warning(disable:4355) 36 : once(this), prepare(this), query_transformation_(NULL), logStream_(NULL),
37 uppercaseColumnNames_(false), backEnd_(NULL),
38 isFromPool_(false), pool_(NULL)
114 throw soci_error(
"Cannot open already connected session.");
120 throw soci_error(
"Cannot connect without a valid backend.");
169 if (lastFactory == NULL)
171 throw soci_error(
"Cannot reconnect without previous connection.");
238 std::auto_ptr<details::query_transformation_function> qtf)
std::string get_last_query() const
backend_factory const & backEnd
virtual details::session_backend * make_session(connection_parameters const ¶meters) const =0
virtual rowid_backend * make_rowid_backend()=0
void log_query(std::string const &query)
std::ostream * logStream_
std::string get_backend_name() const
details::session_backend * backEnd_
details::session_backend * get_backend()
void give_back(std::size_t pos)
virtual statement_backend * make_statement_backend()=0
void set_got_data(bool gotData)
virtual bool get_last_insert_id(session &, std::string const &, long &)
bool get_last_insert_id(std::string const &table, long &value)
virtual void rollback()=0
std::ostringstream & get_query_stream()
std::ostringstream query_stream_
session & at(std::size_t pos)
virtual blob_backend * make_blob_backend()=0
void set_session(session *s)
bool get_next_sequence_value(std::string const &sequence, long &value)
void uppercase_column_names(bool forceToUpper)
connection_parameters lastConnectParameters_
std::string get_query() const
bool uppercaseColumnNames_
details::blob_backend * make_blob_backend()
details::statement_backend * make_statement_backend()
void set_log_stream(std::ostream *s)
void open(connection_parameters const ¶meters)
details::rowid_backend * make_rowid_backend()
details::query_transformation_function * query_transformation_
void set_query_transformation_(std::auto_ptr< details::query_transformation_function > qtf)
std::string connectString
void set_session(session *s)
std::size_t poolPosition_
bool get_uppercase_column_names() const
std::ostream * get_log_stream() const
std::vector< ISM::CombinatorialTrainerParameters > parameters
details::prepare_type prepare
backend_factory const * get_factory() const
virtual bool get_next_sequence_value(session &, std::string const &, long &)
virtual std::string get_backend_name() const =0