28#include <com/sun/star/beans/NamedValue.hpp>
32 class java_sql_Driver;
40 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
62 const OUString& _sDriverClass,
63 const OUString& _sDriverClassPath,
64 const css::uno::Sequence< css::beans::NamedValue >& _rSystemProperties
85 const css::uno::Sequence< css::beans::PropertyValue >& info);
87 const css::uno::Sequence< css::beans::PropertyValue >&
106 virtual void SAL_CALL
disposing()
override;
109 virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL
createStatement( )
override;
110 virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL
prepareStatement(
const OUString&
sql )
override;
111 virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL
prepareCall(
const OUString&
sql )
override;
112 virtual OUString SAL_CALL
nativeSQL(
const OUString&
sql )
override;
115 virtual void SAL_CALL
commit( )
override;
116 virtual void SAL_CALL
rollback( )
override;
118 virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL
getMetaData( )
override;
121 virtual void SAL_CALL
setCatalog(
const OUString& catalog )
override;
122 virtual OUString SAL_CALL
getCatalog( )
override;
125 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL
getTypeMap( )
override;
126 virtual void SAL_CALL
setTypeMap(
const css::uno::Reference< css::container::XNameAccess >& typeMap )
override;
128 virtual void SAL_CALL
close( )
override;
130 virtual css::uno::Any SAL_CALL
getWarnings( )
override;
css::uno::Any m_aSchemaRestriction
virtual void SAL_CALL rollback() override
java_sql_Connection(const java_sql_Driver &_rDriver)
virtual void SAL_CALL setTypeMap(const css::uno::Reference< css::container::XNameAccess > &typeMap) override
virtual void SAL_CALL setAutoCommit(sal_Bool autoCommit) override
java::sql::ConnectionLog m_aLogger
virtual sal_Bool SAL_CALL isClosed() override
virtual void SAL_CALL commit() override
virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL createStatement() override
virtual void SAL_CALL setTransactionIsolation(sal_Int32 level) override
virtual void SAL_CALL setCatalog(const OUString &catalog) override
virtual css::uno::Any SAL_CALL getWarnings() override
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareStatement(const OUString &sql) override
bool isIgnoreCurrencyEnabled() const
virtual void SAL_CALL disposing() override
virtual void SAL_CALL close() override
virtual ~java_sql_Connection() override
jdbc::GlobalRef< jobject > m_pDriverClassLoader
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareCall(const OUString &sql) override
const css::uno::Any & getCatalogRestriction() const
virtual sal_Int32 SAL_CALL getTransactionIsolation() override
bool construct(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info)
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData() override
const jdbc::GlobalRef< jobject > & getDriverClassLoader() const
returns the class loader which was used to load the driver class
virtual sal_Bool SAL_CALL getAutoCommit() override
virtual void SAL_CALL clearWarnings() override
const java_sql_Driver * m_pDriver
OUString transFormPreparedStatement(const OUString &_sSQL)
transform named parameter into unnamed one.
const java::sql::ConnectionLog & getLogger() const
returns the instance used for logging events related to this connection
bool m_bIgnoreDriverPrivileges
virtual void SAL_CALL setReadOnly(sal_Bool readOnly) override
void loadDriverFromProperties(const OUString &_sDriverClass, const OUString &_sDriverClassPath, const css::uno::Sequence< css::beans::NamedValue > &_rSystemProperties)
virtual OUString SAL_CALL nativeSQL(const OUString &sql) override
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTypeMap() override
bool isIgnoreDriverPrivilegesEnabled() const
const css::uno::Any & getSchemaRestriction() const
virtual sal_Bool SAL_CALL isReadOnly() override
virtual OUString SAL_CALL getCatalog() override
css::uno::Any m_aCatalogRestriction
OUString impl_getJavaDriverClassPath_nothrow(const OUString &_sDriverClass)
load driver class path from system configuration.
css::uno::Reference< css::uno::XComponentContext > m_xContext
const css::uno::Sequence< css::beans::PropertyValue > & getConnectionInfo() const
virtual jclass getMyClass() const override
OMetaConnection java_sql_Connection_BASE