summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/JConnection.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index a93cd4a12202..a2a73889c0d5 100644
--- a/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -659,11 +659,6 @@ namespace
void java_sql_Connection::loadDriverFromProperties( const OUString& _sDriverClass, const OUString& _sDriverClassPath,
const Sequence< NamedValue >& _rSystemProperties )
{
- // contains the statement which should be used when query for automatically generated values
- OUString sGeneratedValueStatement;
- // set to <TRUE/> when we should allow to query for generated values
- bool bAutoRetrievingEnabled = false;
-
// first try if the jdbc driver is already registered at the driver manager
SDBThreadAttach t;
try
@@ -751,9 +746,6 @@ void java_sql_Connection::loadDriverFromProperties( const OUString& _sDriverClas
*this
);
}
-
- enableAutoRetrievingEnabled( bAutoRetrievingEnabled );
- setAutoRetrievingStatement( sGeneratedValueStatement );
}
OUString java_sql_Connection::impl_getJavaDriverClassPath_nothrow(const OUString& _sDriverClass)