23#include <com/sun/star/sdbc/SQLException.hpp>
24#include <com/sun/star/sdbc/XRow.hpp>
25#include <com/sun/star/sdbc/XResultSet.hpp>
39 ::osl::Mutex& _rMutex,
40 const std::vector< OUString> &_rVector)
49 OUString aCatalog, aSchema, aTable;
57 Catalog, aSchema, aTable);
59 OUString aRefColumnName;
62 Reference< XRow > xRow(xResult,UNO_QUERY);
64 while(xResult->next())
66 aTemp = xRow->getString(4);
67 if(xRow->getString(8) == _rName &&
m_pKey->
getName() == xRow->getString(12))
69 aRefColumnName = aTemp;
82 Reference< XRow > xRow(xResult,UNO_QUERY);
83 if ( xResult->next() )
85 if ( xRow->getString(4) == _rName )
88 OUString aTypeName(xRow->getString(6));
89 sal_Int32 nSize = xRow->getInt(7);
90 sal_Int32 nDec = xRow->getInt(9);
91 sal_Int32 nNull = xRow->getInt(11);
95 sColumnDef = xRow->getString(13);
97 catch(
const SQLException&)
virtual sdbcx::ObjectType createObject(const OUString &_rName) override
virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override
virtual void impl_refresh() override
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > getMetaData() const override
OTableHelper * getTable() const
virtual void refreshColumns() override
bool isCaseSensitive() const
virtual OUString SAL_CALL getName() override
css::uno::Reference< css::beans::XPropertySet > ObjectType
#define PROPERTY_ID_CATALOGNAME
#define PROPERTY_ID_SCHEMANAME