summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/java/sql/Connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/java/sql/Connection.hxx')
-rw-r--r--connectivity/source/inc/java/sql/Connection.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/inc/java/sql/Connection.hxx b/connectivity/source/inc/java/sql/Connection.hxx
index a71fd5f7d3..f34ce444c5 100644
--- a/connectivity/source/inc/java/sql/Connection.hxx
+++ b/connectivity/source/inc/java/sql/Connection.hxx
@@ -65,6 +65,8 @@ namespace connectivity
sal_Bool m_bParameterSubstitution;
sal_Bool m_bIgnoreDriverPrivileges;
sal_Bool m_bIgnoreCurrency;
+ ::com::sun::star::uno::Any m_aCatalogRestriction;
+ ::com::sun::star::uno::Any m_aSchemaRestriction;
/** transform named parameter into unnamed one.
@param _sSQL
@@ -101,6 +103,8 @@ namespace connectivity
inline sal_Bool isIgnoreDriverPrivilegesEnabled() const { return m_bIgnoreDriverPrivileges;}
inline sal_Bool isIgnoreCurrencyEnabled() const { return m_bIgnoreCurrency; }
+ inline const ::com::sun::star::uno::Any& getCatalogRestriction() const { return m_aCatalogRestriction; }
+ inline const ::com::sun::star::uno::Any& getSchemaRestriction() const { return m_aSchemaRestriction; }
/** returns the instance used for logging events related to this connection
*/