Implemet setNull. (firebird-sdbc)

Change-Id: I9fd53a5e8b5d1dba467fa8064f9f2ea1b93f26df
This commit is contained in:
Andrzej J.R. Hunt 2013-08-27 20:52:37 +01:00
parent 186f264dc2
commit 7bc88db8c5

View file

@ -323,6 +323,16 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
}
//----- XParameters -----------------------------------------------------------
void SAL_CALL OPreparedStatement::setNull(sal_Int32 nIndex, sal_Int32 nSqlType)
throw(SQLException, RuntimeException)
{
(void) nSqlType;
MutexGuard aGuard( m_pConnection->getMutex() );
checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed);
setParameterNull(nIndex, true);
}
void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 nIndex, sal_Bool x)
throw(SQLException, RuntimeException)
{
@ -458,16 +468,6 @@ void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x )
}
// -------------------------------------------------------------------------
void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw(SQLException, RuntimeException)
{
(void) parameterIndex;
(void) sqlType;
::osl::MutexGuard aGuard( m_pConnection->getMutex() );
checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed);
}
// -------------------------------------------------------------------------
void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const Reference< XClob >& x ) throw(SQLException, RuntimeException)
{
(void) parameterIndex;