Quantcast
Channel: SQL Server Data Access forum
Viewing all articles
Browse latest Browse all 4164

JDBC Driver is making a sp_sproc_columns to get sproc column metadata for every sproc call

$
0
0

WE are using the Microsoft JDBC Driver v6.0 to connect to MSSQL 2014 databases, and call stored procedures. We use Named parameters when we call the sprocs. 

We are finding that the driver is making a call to get sproc parameter metadata for each sproc invocation. This is causing performance problems for us because it accesses system tables and causes a lot of read operations across many tables.

Why does the driver do this? Is there any way to switch it off using a properties setting, or something else?

Searching the forums, I saw a previous question on this topic: https://social.msdn.microsoft.com/Forums/en-US/c374be03-60a9-4107-bfe8-1b26f6802bd4/springs-namedparameterjdbctemplate-causing-an-unwanted-metadata-call?forum=sqldataaccess but looks like there has been no response to that.


feroze
--
My blog (including System.Net topics

 Subscribe in a reader

Instruction on how to create a tracelog with your System.Net application
System.Net Links and HOWTOs



Viewing all articles
Browse latest Browse all 4164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>