30using namespace ::
cppu;
46 ::dbtools::EComposeRule::InDataManipulation);
69 const Reference<XPropertySet>& descriptor)
86 OUString aSql(
"DROP VIEW");
88 Reference<XPropertySet> xProp(xObject, UNO_QUERY);
90 ::dbtools::EComposeRule::InTableDefinitions,
true);
93 Reference<XStatement> xStmt = xConnection->createStatement();
95 ::comphelper::disposeComponent(xStmt);
109 OUString aSql(
"CREATE VIEW ");
113 ::dbtools::EComposeRule::InTableDefinitions,
true)
120 Reference<XStatement> xStmt = xConnection->createStatement();
123 xStmt->execute(aSql);
124 ::comphelper::disposeComponent(xStmt);
133 m_xMetaData, descriptor, ::dbtools::EComposeRule::InDataManipulation,
false);
connectivity::sdbcx::OCollection OCollection_TYPE
void appendNew(const OUString &_rsNewTable)
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData
void dropByNameImpl(const OUString &elementName)
virtual void dropObject(sal_Int32 _nPos, const OUString &_sElementName) override
virtual sdbcx::ObjectType appendObject(const OUString &_rForName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
appends an object described by a descriptor, under a given name
virtual void disposing() override
virtual void impl_refresh() override
void createView(const css::uno::Reference< css::beans::XPropertySet > &descriptor)
virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override
virtual sdbcx::ObjectType createObject(const OUString &_rName) override
virtual void SAL_CALL dropByName(const OUString &elementName) override
bool isCaseSensitive() const
ObjectType getObject(sal_Int32 _nIndex)
return the object, if not existent it creates it.
::cppu::OWeakObject & m_rParent
css::uno::Reference< css::beans::XPropertySet > ObjectType
#define PROPERTY_ID_COMMAND