Again thanks for reply. I think that it is my fault, it seems that i did not explain what my trouble actually is. I am sorry for this and hope you have patience.
As far as i understand there is an
JDBC driver that enables a java program to interact with databases. And if i want to connect to an ODBC database there is an JDBC-ODBC bridge if i am not wrong. And because of this JDBC-ODBC bridge i can use the ODBC provider and measure the time it needs to do some arbitrary number of queries.(at this point i need to say again that i know very little about databases and how stuff works, so maybe i made a mistake since i still do not know much and maybe the JDBC-ODBC bridge has nothing to do with ODBC provider. I am walking in the dark here and if i hit my head against the wall it seems stupid but i have to keep walking).
TL;DR I presume that i need a JDBC-ODBC bridge so i can use an ODBC provider to measure the time it needs to do some number of queries, and if it is so then i also need a bridge for OLEDB and sql provider. And if there are no bridges for OLEDB/sql provider then i cant measure the time these providers. Am i wrong, is the conclusion that i came to with my limited knowledge utter stupidity?