JDBC-ODBC Bridge multi-threaded.

Ads
 

JDBC-ODBC Bridge multi-threaded.

Is the JDBC-ODBC Bridge multi-threaded?

View Answers

November 12, 2010 at 5:19 PM

Hi friends,

No. The JDBC-ODBC Bridge does not support concurrent access from different threads. The JDBC-ODBC Bridge uses synchronized methods to serialize all of the calls that it makes to ODBC. Multi-threaded Java programs may use the Bridge, but they won't get the advantages of multi-threading. In addition, deadlocks can occur between locks held in the database and the semaphore used by the Bridge. We are thinking about removing the synchronized methods in the future. They were added originally to make things simple for folks writing Java programs that use a single-threaded ODBC driver.

Thanks.

Ads









Related Tutorials/Questions & Answers:
jdbc odbc
jdbc odbc   i have two tables in database 1table's attribute is foreign key of another in this case how to retrive value from both table and show in a gridview combine using java code   Sql query to retrieve values
jdbc odbc
= DriverManager.getConnection("jdbc:odbc:swing"); String sql = "INSERT...jdbc odbc  Sir, i want to get the selected value from JCombobox to ms...("JDBC All in One"); JComboBox petList = new JComboBox(petStrings
Advertisements
Multi-threaded Programming
Multi-threaded Programming  Write a class resourceThread which has a method run which calls display method of resource class. Resource class has synchronized display method which prints the array string. Take a string
Java JDBC ODBC
Java JDBC ODBC  What is the difference between JDBC and ODBC
JDBC-Odbc Connection
JDBC-ODBC Connection       JDBC-ODBC Connection is a JDBC driver that translates the operation in  JDBC into ODBC. For ODBC,it is a normal java application program. This bridge
JDBC ODBC Connection In Java
aspects of JDBC ODBC such as, JDBC-ODBC bridge, JDBC ODBC connection, how to create DSN etc. JDBC-ODBC Bridge As its name JDBC-ODBC bridge, it acts like a bridge between the Java Programming Language and the ODBC to use the JDBC API
JDBC ODBC related problem
JDBC ODBC related problem  i WANT HELP RELATED TO JDBC CONNECTIVITY WITH MS ACCESS.. HERE IS MY FULL CODE... import java.awt.Container; import... con; con = DriverManager.getConnection("jdbc:odbc:Digambar
jdbc odbc sql server exception
jdbc odbc sql server exception  Hi, I am trying to use sql server with java jdbc odbc but I am getting this exception java.sql.SQLException: [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near '@P1
JDBC-Odbc Connectivity
JDBC-ODBC Connectivity       The code illustrates an example from JDBC-ODBC...;"jdbc:odbc:emp";   public 
how to set fetch size for jdbc odbc driver
how to set fetch size for jdbc odbc driver  What is the default fetch size for the JDBC ODBC driver and how can i fetch a set of results for JDBC ODBC driver?   Fetching results JDBC ODBC Driver A. The default fetch
jdbc odbc
jdbc odbc  i want to fetch the data from the ms access and print on ms word for printing purpose?? the whole program is in swing to ms acess connectivity.. the whole set up is perform only printing part is remaining? so help me
jdbc odbc
jdbc odbc  i want to fetch the data from the ms access and print on ms word for printing purpose?? the whole program is in swing to ms acess connectivity.. the whole set up is perform only printing part is remaining? so help me
JDBC-ODBC
JDBC-ODBC  HI what should i give names for DNS and TNS in Administrative Tools so that there will be connection between Database (oracle) and java.Actually how to operate Administrative Tools
JDBC-ODBC
JDBC-ODBC  HI what should i give names for DNS and TNS in Administrative Tools so that there will be connection between Database (oracle) and java.Actually how to operate Administrative Tools
How to Retrieve Excel data into mysql using type 2 JDBC-ODBC driver
How to Retrieve Excel data into mysql using type 2 JDBC-ODBC driver  Can any please help it is very urgent. I tried to read excel sheet using ODBC..."); Connection conn = DriverManager.getConnection("jdbc:odbc:excel
online quiz program coding using jsp, jdbc odbc connection with ms. access.. Thank you.
online quiz program coding using jsp, jdbc odbc connection with ms. access.. Thank you.  please provide online quiz program coding using jsp, jdbc odbc connection with ms. access.. Thank you.   Create table test
ModuleNotFoundError: No module named 'bridge'
ModuleNotFoundError: No module named 'bridge'  Hi, My Python... 'bridge' How to remove the ModuleNotFoundError: No module named 'bridge'... to install padas library. You can install bridge python with following command
Version of batik>batik-bridge dependency
List of Version of batik>batik-bridge dependency
Version of com.braintreepayments>popup-bridge dependency
List of Version of com.braintreepayments>popup-bridge dependency
ModuleNotFoundError: No module named 'bankin-bridge'
ModuleNotFoundError: No module named 'bankin-bridge'  Hi, My... 'bankin-bridge' How to remove the ModuleNotFoundError: No module named 'bankin-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'bankin-bridge'
ModuleNotFoundError: No module named 'bankin-bridge'  Hi, My... 'bankin-bridge' How to remove the ModuleNotFoundError: No module named 'bankin-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'base_bridge'
ModuleNotFoundError: No module named 'base_bridge'  Hi, My Python... 'base_bridge' How to remove the ModuleNotFoundError: No module named 'base_bridge' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'detox-bridge'
ModuleNotFoundError: No module named 'detox-bridge'  Hi, My Python... 'detox-bridge' How to remove the ModuleNotFoundError: No module named 'detox-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-bridge'
ModuleNotFoundError: No module named 'django-bridge'  Hi, My... 'django-bridge' How to remove the ModuleNotFoundError: No module named 'django-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'ghidra-bridge'
ModuleNotFoundError: No module named 'ghidra-bridge'  Hi, My... 'ghidra-bridge' How to remove the ModuleNotFoundError: No module named 'ghidra-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'ghidra-bridge'
ModuleNotFoundError: No module named 'ghidra-bridge'  Hi, My... 'ghidra-bridge' How to remove the ModuleNotFoundError: No module named 'ghidra-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'gocd-bridge'
ModuleNotFoundError: No module named 'gocd-bridge'  Hi, My Python... 'gocd-bridge' How to remove the ModuleNotFoundError: No module named 'gocd-bridge' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'gym_bridge'
ModuleNotFoundError: No module named 'gym_bridge'  Hi, My Python... 'gym_bridge' How to remove the ModuleNotFoundError: No module named 'gym_bridge' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'hamster-bridge'
ModuleNotFoundError: No module named 'hamster-bridge'  Hi, My... named 'hamster-bridge' How to remove the ModuleNotFoundError: No module named 'hamster-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'homemate-bridge'
ModuleNotFoundError: No module named 'homemate-bridge'  Hi, My... named 'homemate-bridge' How to remove the ModuleNotFoundError: No module named 'homemate-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'icenlp-bridge'
ModuleNotFoundError: No module named 'icenlp-bridge'  Hi, My... 'icenlp-bridge' How to remove the ModuleNotFoundError: No module named 'icenlp-bridge' error? Thanks   Hi, In your python

Ads