22#include <com/sun/star/lang/DisposedException.hpp>
34 return "com.sun.star.comp.sdbc.writer.ODriver";
37extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
39 css::uno::Sequence<css::uno::Any>
const& )
43 return acquire(
new ODriver(context));
51uno::Reference<sdbc::XConnection>
52 SAL_CALL
ODriver::connect(
const OUString& url,
const uno::Sequence<beans::PropertyValue>& info)
55 if (ODriver_BASE::rBHelper.bDisposed)
56 throw lang::DisposedException();
62 pCon->construct(url, info);
70 return url.startsWith(
"sdbc:writer:");
73uno::Sequence<sdbc::DriverPropertyInfo> SAL_CALL
helper class for accessing resources shared by different libraries in the connectivity module
OUString getResourceString(TranslateId pResId) const
loads a string from the shared resource file
connectivity::OWeakRefArray m_xConnections
OUString SAL_CALL getImplementationName() override
sal_Bool SAL_CALL acceptsURL(const OUString &url) override
css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * connectivity_writer_ODriver(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)