35ODBCDriver::ODBCDriver(css::uno::Reference< css::uno::XComponentContext > _xContext)
38 ,m_pDriverHandle(SQL_NULL_HANDLE)
55 ODriver_BASE::disposing();
62 return "com.sun.star.comp.sdbc.ODBCDriver";
70 return {
"com.sun.star.sdbc.Driver" };
89 throw SQLException(aPath,*
this,OUString(),1000,
Any());
92 pCon->Construct(url,info);
100 return url.startsWith(
"sdbc:odbc:");
113 "CharSet of the database.",
120 "Use catalog for file-based databases.",
126 "SystemDriverSettings",
133 "ParameterNameSubstitution",
134 "Change named parameters with '?'.",
140 "IgnoreDriverPrivileges",
141 "Ignore the privileges from the database driver.",
147 "IsAutoRetrievingEnabled",
148 "Retrieve generated values.",
154 "AutoRetrievingStatement",
155 "Auto-increment statement.",
161 "GenerateASBeforeCorrelationName",
162 "Generate AS before table correlation names.",
169 "Escape date time format.",
Reference< XComponentContext > m_xContext
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
virtual sal_Int32 SAL_CALL getMajorVersion() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL disposing() override
virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
virtual SQLHANDLE EnvironmentHandle(OUString &_rPath)=0
connectivity::OWeakRefArray m_xConnections
virtual sal_Bool SAL_CALL acceptsURL(const OUString &url) override
virtual sal_Int32 SAL_CALL getMinorVersion() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
SQLHANDLE m_pDriverHandle
virtual OUString SAL_CALL getImplementationName() override
::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo > ODriver_BASE
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
Reference< XComponentContext > _xContext