summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado/ACallableStatement.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:12:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:12:00 +0000
commitec28a67e8cdade0a650c8042adb01f8ef88fc8cd (patch)
tree9d846a5738e9c2d78e9bc2f5ba80e853e0efe23a /connectivity/source/drivers/ado/ACallableStatement.cxx
parent6634adb4fdc5d019e06cd5209ccc9e33587f3155 (diff)
INTEGRATION: CWS warnings01 (1.6.30); FILE MERGED
2005/12/22 11:44:31 fs 1.6.30.1: #i57457# warning-free code
Diffstat (limited to 'connectivity/source/drivers/ado/ACallableStatement.cxx')
-rw-r--r--connectivity/source/drivers/ado/ACallableStatement.cxx39
1 files changed, 22 insertions, 17 deletions
diff --git a/connectivity/source/drivers/ado/ACallableStatement.cxx b/connectivity/source/drivers/ado/ACallableStatement.cxx
index 74cf306fc2..f5a831cb9d 100644
--- a/connectivity/source/drivers/ado/ACallableStatement.cxx
+++ b/connectivity/source/drivers/ado/ACallableStatement.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ACallableStatement.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 05:25:53 $
+ * last change: $Author: hr $ $Date: 2006-06-20 01:12:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -37,6 +37,10 @@
#include "ado/ACallableStatement.hxx"
#endif
+#ifndef _DBHELPER_DBEXCEPTION_HXX_
+#include <connectivity/dbexception.hxx>
+#endif
+
using namespace connectivity::ado;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
@@ -55,7 +59,7 @@ IMPLEMENT_SERVICE_INFO(OCallableStatement,"com.sun.star.sdbcx.ACallableStatement
//**************************************************************
//************ Class: java.sql.CallableStatement
//**************************************************************
-OCallableStatement::OCallableStatement( OConnection* _pConnection,const OTypeInfoMap& _TypeInfo,const ::rtl::OUString& sql )
+OCallableStatement::OCallableStatement( OConnection* _pConnection,const OTypeInfoMap& _TypeInfo,const ::rtl::OUString& sql )
: OPreparedStatement( _pConnection, _TypeInfo, sql )
{
m_Command.put_CommandType(adCmdStoredProc);
@@ -128,8 +132,9 @@ sal_Int64 SAL_CALL OCallableStatement::getLong( sal_Int32 columnIndex ) throw(SQ
}
// -------------------------------------------------------------------------
-Any SAL_CALL OCallableStatement::getObject( sal_Int32 columnIndex, const Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(SQLException, RuntimeException)
+Any SAL_CALL OCallableStatement::getObject( sal_Int32 /*columnIndex*/, const Reference< ::com::sun::star::container::XNameAccess >& /*typeMap*/ ) throw(SQLException, RuntimeException)
{
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getObject", *this );
return Any();
}
// -------------------------------------------------------------------------
@@ -162,7 +167,7 @@ sal_Int16 SAL_CALL OCallableStatement::getShort( sal_Int32 columnIndex ) throw(S
}
// -------------------------------------------------------------------------
-void SAL_CALL OCallableStatement::registerOutParameter( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName ) throw(SQLException, RuntimeException)
+void SAL_CALL OCallableStatement::registerOutParameter( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& /*typeName*/ ) throw(SQLException, RuntimeException)
{
ADOParameter* pParam = NULL;
m_pParameters->get_Item(OLEVariant(sal_Int32(parameterIndex-1)),&pParam);
@@ -187,42 +192,42 @@ void SAL_CALL OCallableStatement::registerNumericOutParameter( sal_Int32 paramet
// -------------------------------------------------------------------------
-Reference< ::com::sun::star::io::XInputStream > SAL_CALL OCallableStatement::getBinaryStream( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
+Reference< ::com::sun::star::io::XInputStream > SAL_CALL OCallableStatement::getBinaryStream( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException)
{
- m_aValue.setNull();
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getBinaryStream", *this );
return NULL;
}
// -------------------------------------------------------------------------
-Reference< ::com::sun::star::io::XInputStream > SAL_CALL OCallableStatement::getCharacterStream( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
+Reference< ::com::sun::star::io::XInputStream > SAL_CALL OCallableStatement::getCharacterStream( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException)
{
- m_aValue.setNull();
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getCharacterStream", *this );
return NULL;
}
// -------------------------------------------------------------------------
-Reference< XArray > SAL_CALL OCallableStatement::getArray( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
+Reference< XArray > SAL_CALL OCallableStatement::getArray( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException)
{
- m_aValue.setNull();
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getArray", *this );
return NULL;
}
// -------------------------------------------------------------------------
-Reference< XClob > SAL_CALL OCallableStatement::getClob( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
+Reference< XClob > SAL_CALL OCallableStatement::getClob( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException)
{
- m_aValue.setNull();
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getClob", *this );
return NULL;
}
// -------------------------------------------------------------------------
-Reference< XBlob > SAL_CALL OCallableStatement::getBlob( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
+Reference< XBlob > SAL_CALL OCallableStatement::getBlob( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException)
{
- m_aValue.setNull();
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getBlob", *this );
return NULL;
}
// -------------------------------------------------------------------------
-Reference< XRef > SAL_CALL OCallableStatement::getRef( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
+Reference< XRef > SAL_CALL OCallableStatement::getRef( sal_Int32 /*columnIndex*/) throw(SQLException, RuntimeException)
{
- m_aValue.setNull();
+ ::dbtools::throwFeatureNotImplementedException( "XRow::getRef", *this );
return NULL;
}
// -------------------------------------------------------------------------