}
void oracle::Database::do_initialize()
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tm("anna::dbms::oracle::Database", "do_initialize", ANNA_FILE_LOCATION));
- int status;
if(a_env != NULL) {
Logger::write(Logger::Warning, asString(), "Already initialized", ANNA_FILE_LOCATION);
}
dbms::Connection* oracle::Database::allocateConnection(const std::string& name, const char* user, const char* password)
-throw(RuntimeException) {
+noexcept(false) {
return new Connection(*this, name, user, password);
}
dbms::Statement* oracle::Database::allocateStatement(const char* name, const std::string& expression, const bool isCritical)
-throw(RuntimeException) {
+noexcept(false) {
return new Statement(*this, name, expression, isCritical);
}
dbms::InputBind* oracle::Database::allocateInputBind(const char* name, Data& data)
-throw(RuntimeException) {
+noexcept(false) {
return new InputBind(name, data);
}
void oracle::Database::deallocate(dbms::InputBind* inputBind)
-throw() {
+{
delete(InputBind*) inputBind;
}
dbms::OutputBind* oracle::Database::allocateOutputBind(const char* name, Data& data)
-throw(RuntimeException) {
+noexcept(false) {
return new OutputBind(name, data);
}
void oracle::Database::deallocate(dbms::OutputBind* outputBind)
-throw() {
+{
delete(OutputBind*) outputBind;
}
*/
/*static*/
void oracle::Database::initializeDecimalPoint()
-throw(RuntimeException) {
+noexcept(false) {
setlocale(LC_NUMERIC, "");
struct lconv *locale = localeconv();