21#include <core_resource.hxx>
23#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
37void OBookmarkSet::construct(
const Reference< XResultSet>& _xDriverSet,
const OUString& i_sRowSetFilter)
77 ::dbtools::throwSQLException(
DBA_RES( RID_STR_NO_XROWUPDATE ), StandardSQLState::GENERAL_ERROR, *
this );
79 Reference<XResultSetUpdate> xUpd(
m_xRowLocate,UNO_QUERY);
82 xUpd->moveToInsertRow();
94 ::dbtools::throwSQLException(
DBA_RES( RID_STR_NO_XRESULTSETUPDATE ), StandardSQLState::GENERAL_ERROR, *
this );
101 ::dbtools::throwSQLException(
DBA_RES( RID_STR_NO_XROWUPDATE ), StandardSQLState::GENERAL_ERROR, *
this );
108 aIter->setSigned(aOrgIter->isSigned());
113 Reference<XResultSetUpdate> xUpd(
m_xRowLocate,UNO_QUERY);
117 ::dbtools::throwSQLException(
DBA_RES( RID_STR_NO_XRESULTSETUPDATE ), StandardSQLState::GENERAL_ERROR, *
this );
122 Reference<XResultSetUpdate> xUpd(
m_xRowLocate,UNO_QUERY);
133 _xParameter->updateNull(
nPos);
139 case DataType::DECIMAL:
140 case DataType::NUMERIC:
144 case DataType::VARCHAR:
147 case DataType::BIGINT:
154 case DataType::BOOLEAN:
155 _xParameter->updateBoolean(
nPos,_rValue.
getBool());
157 case DataType::TINYINT:
163 case DataType::SMALLINT:
169 case DataType::INTEGER:
175 case DataType::FLOAT:
178 case DataType::DOUBLE:
188 case DataType::TIMESTAMP:
191 case DataType::BINARY:
192 case DataType::VARBINARY:
193 case DataType::LONGVARBINARY:
198 _xParameter->updateObject(
nPos,_rValue.
getAny());
css::util::Time getTime() const
sal_Int32 getInt32() const
OUString getString() const
css::uno::Any makeAny() const
sal_Int32 getTypeKind() const
sal_Int16 getInt16() const
css::util::Date getDate() const
css::util::DateTime getDateTime() const
sal_Int64 getLong() const
const css::uno::Any & getAny() const
css::uno::Sequence< sal_Int8 > getSequence() const
virtual css::uno::Any getBookmark() override
virtual bool moveToBookmark(const css::uno::Any &bookmark) override
css::uno::Reference< css::sdbcx::XRowLocate > m_xRowLocate
virtual sal_Int32 hashBookmark(const css::uno::Any &bookmark) override
virtual bool hasOrderedBookmarks() override
virtual void updateRow(const ORowSetRow &_rInsertRow, const ORowSetRow &_rOriginalRow, const connectivity::OSQLTable &_xTable) override
virtual void deleteRow(const ORowSetRow &_rInsertRow, const connectivity::OSQLTable &_xTable) override
virtual void insertRow(const ORowSetRow &_rInsertRow, const connectivity::OSQLTable &_xTable) override
void updateColumn(sal_Int32 nPos, const css::uno::Reference< css::sdbc::XRowUpdate > &_xParameter, const connectivity::ORowSetValue &_rValue)
virtual sal_Int32 compareBookmarks(const css::uno::Any &first, const css::uno::Any &second) override
virtual void construct(const css::uno::Reference< css::sdbc::XResultSet > &_xDriverSet, const OUString &i_sRowSetFilter) override
virtual void reset(const css::uno::Reference< css::sdbc::XResultSet > &_xDriverSet) override
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xSetMetaData
std::vector< bool > m_aSignedFlags
virtual void construct(const css::uno::Reference< css::sdbc::XResultSet > &_xDriverSet, const OUString &i_sRowSetFilter)
css::uno::Reference< css::sdbcx::XColumnsSupplier > OSQLTable