}
void OutputBind::prepare(dbms::Statement* dbmsStatement, dbms::Connection* connection, const int pos)
-throw(dbms::DatabaseException) {
+noexcept(false) {
if(a_ociDefine != NULL)
return;
// (1) Truco para fijar el contenido y la longitud actual.
//-------------------------------------------------------------------------------
void OutputBind::decode() const
-throw(RuntimeException) {
+noexcept(false) {
OutputBind* _this = const_cast <OutputBind*>(this);
char* str;
Data& data = _this->getData();
else
dbms::String::strip(str);
+ break;
+ case Data::Type::Integer:
+ throw RuntimeException("anna::dbms::oracle::OutputBind::decode not implemented for Data::Type::Integer", ANNA_FILE_LOCATION);
break;
case Data::Type::Float:
decodeFloat(data);
}
void OutputBind::decodeFloat(dbms::Data& data) const
-throw(RuntimeException) {
+noexcept(false) {
dbms::Float& _float = static_cast <dbms::Float&>(data);
if(data.isNull() == true) {
}
void OutputBind::decodeShortBlock(dbms::Data& data) const
-throw(RuntimeException) {
+noexcept(false) {
const anna::DataBlock& constdbms(static_cast <dbms::ShortBlock&>(data).getValue());
anna::DataBlock& dataBlock(const_cast <anna::DataBlock&>(constdbms));
// (1) Offset = 1 => primer caracter.
//--------------------------------------------------------------------------------------------
void OutputBind::decodeLongBlock(dbms::Data& data) const
-throw(RuntimeException) {
+noexcept(false) {
const anna::DataBlock& constdbms(static_cast <dbms::LongBlock&>(data).getValue());
anna::DataBlock& dataBlock(const_cast <anna::DataBlock&>(constdbms));
dataBlock.clear();
}
void OutputBind::do_write(const dbms::LongBlock& data) const
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
const anna::DataBlock& dataBlock = data.getValue();
if(a_blob.handle == NULL) {
}
void OutputBind::decodeDate(dbms::Data& data) const
-throw(RuntimeException, dbms::DatabaseException) {
+noexcept(false) {
if(data.isNull() == true)
return;