23#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
30 css::uno::Reference< css::sdbc::XDatabaseMetaData >
m_xMetaData;
36 virtual void dropObject(sal_Int32 _nPos,
const OUString& _sElementName)
override;
38 void createTable(
const css::uno::Reference< css::beans::XPropertySet >& descriptor );
42 const ::std::vector< OUString> &_rVector) : sdbcx::
OCollection(_rParent, true, _rMutex, _rVector)
55 static OUString
adjustSQL(
const OUString& _sSql);
58 virtual void addComment(
const css::uno::Reference< css::beans::XPropertySet >& descriptor,OUStringBuffer& _rOut)
override;
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData
virtual void addComment(const css::uno::Reference< css::beans::XPropertySet > &descriptor, OUStringBuffer &_rOut) override
virtual OUString getNameForObject(const sdbcx::ObjectType &_xObject) override
returns the name for the object.
void createTable(const css::uno::Reference< css::beans::XPropertySet > &descriptor)
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
void appendNew(const OUString &_rsNewTable)
virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override
virtual sdbcx::ObjectType createObject(const OUString &_rName) override
virtual void dropObject(sal_Int32 _nPos, const OUString &_sElementName) override
static OUString adjustSQL(const OUString &_sSql)
convert the sql statement to fit MySQL notation
OTables(css::uno::Reference< css::sdbc::XDatabaseMetaData > _xMetaData, ::cppu::OWeakObject &_rParent, ::osl::Mutex &_rMutex, const ::std::vector< OUString > &_rVector)
virtual void disposing() override
virtual void impl_refresh() override
css::uno::Reference< css::beans::XPropertySet > ObjectType