38#include <com/sun/star/sdbc/SQLException.hpp>
45using com::sun::star::uno::Any;
46using com::sun::star::uno::Type;
48using com::sun::star::sdbc::SQLException;
49using com::sun::star::sdbc::XResultSetUpdate;
50using com::sun::star::sdbc::XRowUpdate;
56 const ::rtl::Reference< comphelper::RefCountedMutex > & mutex,
57 const css::uno::Reference< css::uno::XInterface > &owner,
60 const OUString &schema,
61 const OUString &table,
64 m_aReason(
std::move( aReason ))
69 const css::uno::Type & reqType )
72 if( ! ret.hasValue() )
73 ret = ::cppu::queryInterface(
75 static_cast< XResultSetUpdate *
> (
this ),
76 static_cast< XRowUpdate *
> (
this ) );
94 return css::uno::Sequence<sal_Int8>();
99 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
104 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
109 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
114 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
119 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
124 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
130 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
135 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
140 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
145 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
150 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
155 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
160 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
165 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
170 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
175 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
180 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
185 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
190 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
195 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
200 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
205 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
210 throw SQLException(
m_aReason, *
this, OUString(),1,
Any() );
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &reqType) override
virtual void SAL_CALL updateLong(sal_Int32 columnIndex, sal_Int64 x) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL updateByte(sal_Int32 columnIndex, sal_Int8 x) override
virtual void SAL_CALL updateNumericObject(sal_Int32 columnIndex, const css::uno::Any &x, sal_Int32 scale) override
virtual void SAL_CALL updateTimestamp(sal_Int32 columnIndex, const css::util::DateTime &x) override
virtual void SAL_CALL cancelRowUpdates() override
virtual void SAL_CALL deleteRow() override
virtual void SAL_CALL updateCharacterStream(sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
virtual void SAL_CALL updateObject(sal_Int32 columnIndex, const css::uno::Any &x) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL updateTime(sal_Int32 columnIndex, const css::util::Time &x) override
virtual void SAL_CALL updateBytes(sal_Int32 columnIndex, const css::uno::Sequence< sal_Int8 > &x) override
virtual void SAL_CALL updateFloat(sal_Int32 columnIndex, float x) override
virtual void SAL_CALL updateInt(sal_Int32 columnIndex, sal_Int32 x) override
virtual void SAL_CALL updateDouble(sal_Int32 columnIndex, double x) override
virtual void SAL_CALL moveToInsertRow() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &reqType) override
FakedUpdateableResultSet(const ::rtl::Reference< comphelper::RefCountedMutex > &mutex, const css::uno::Reference< css::uno::XInterface > &owner, ConnectionSettings **pSettings, PGresult *result, const OUString &schema, const OUString &table, OUString aReason)
virtual void SAL_CALL insertRow() override
virtual void SAL_CALL updateString(sal_Int32 columnIndex, const OUString &x) override
virtual void SAL_CALL moveToCurrentRow() override
virtual void SAL_CALL updateNull(sal_Int32 columnIndex) override
virtual void SAL_CALL updateBoolean(sal_Int32 columnIndex, sal_Bool x) override
virtual void SAL_CALL updateRow() override
virtual void SAL_CALL updateBinaryStream(sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
virtual void SAL_CALL updateShort(sal_Int32 columnIndex, sal_Int16 x) override
virtual void SAL_CALL updateDate(sal_Int32 columnIndex, const css::util::Date &x) override