JDBC-ODBC Bridge multi-threaded.

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.









Related Tutorials/Questions & Answers:
JDBC-ODBC Bridge multi-threaded.
JDBC-ODBC Bridge multi-threaded.  Is the JDBC-ODBC Bridge multi-threaded
The JDBC-ODBC Bridge.
The JDBC-ODBC Bridge.  Are there any ODBC drivers that do not work with the JDBC-ODBC Bridge
Advertisements
Connection using Jdbc-odbc bridge Driver
Connection using JDBC-ODBC bridge driver JDBCExample.java... program, Jdbc-Odbc bridge driver create connection between java application...; function is used to load the JDBC-ODBC bridge driver. It takes driver name
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
multi threaded program - Java Beginners
multi threaded program  Hi i m developing a multi thread program to execute a real time algorith. I m using three threads. I want to share date between three threads .Is there a way to share data from one thread to another thread
jdbc odbc connection
_TO_REPLACE_2 Example of JDBC ODBC bridge. Thanks...jdbc odbc connection  i need a program in java which uses a jdbc odbc... computer and then access in your Java program.ADS_TO_REPLACE_1 Read the JDBC ODBC
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
Java Jdbc-odbc
Java Jdbc-odbc  What is the difference between JDBC and ODBC
Java JDBC ODBC
Java JDBC ODBC  What is the difference between JDBC and ODBC
multi-threaded Java program - Java Beginners
multi-threaded Java program  Write a multi-threaded Java program to print all numbers below 100,000 that are both prime and fibonacci number (some examples are 2, 3, 5, 13, etc.). Design a thread that generates prime numbers
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...;static private final String connection = "jdbc:odbc
jdbc,odbc,MySQL,swing - Java Beginners
jdbc,odbc,MySQL,swing  write a code that displays a menu list of all available database drivers in a window,and allows the user to select any driver... to the selected database driver.It is very well known as jdbc front end of a database
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
Sun's JDBC-ODBC driver does not implement the getPrimaryKeys() method for the DatabaseMetaData Objects.
Sun's JDBC-ODBC driver does not implement the getPrimaryKeys() method for the DatabaseMetaData Objects.  Is there a way to find the primary key(s) for an Access Database table? Sun's JDBC-ODBC driver does not implement
Java JDBC
Java JDBC   Is the JDBC-ODBC Bridge multi-threaded
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
XLS JDBC Example
comes with ODBC driver therefore you should use JDBC - ODBC bridge driver... = DriverManager.getConnection("jdbc:odbc:datasource", "", ""); stmt... .style1 { background-color: #FFFFCC; } XLS JDBC XlS JDBC driver
Product Components of JDBC
Bridge. The JDBC-ODBC bridge, also known as JDBC type 1 driver is a .... This driver translates JDBC method calls into ODBC function calls. The Bridge implements Jdbc for any database for which an Odbc driver is available. The Bridge
Java JDBC
Java JDBC  Is JDBC-ODBC bridge multi-threaded?  NO. The JDBC-ODBC Bridge uses synchronized methods to serialize all of the calls made... that it makes to ODBC. The multi-threaded java programs that use the bridge wouldn?t
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
jdbc - JDBC
drivers for concurrent access?   Question: Is the JDBC-ODBC Bridge multi-threaded? Answer: No. The JDBC-ODBC Bridge does not support concurrent access from different threads. The JDBC-ODBC Bridge uses synchronized methods
Apollo for Eclipse
for creating multi-threaded applications. Only the Professional Edition offers the breadth of advanced optimization, multi-threading, and processor support
C++ Compiler for Linux
for creating multi-threaded applications. Only the Professional Edition offers the breadth of advanced optimization, multi-threading, and processor support
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 '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 '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
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
ModuleNotFoundError: No module named 'plaza-bridge'
ModuleNotFoundError: No module named 'plaza-bridge'  Hi, My Python... 'plaza-bridge' How to remove the ModuleNotFoundError: No module named 'plaza-bridge' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'programaker-bridge'
ModuleNotFoundError: No module named 'programaker-bridge'  Hi, My... named 'programaker-bridge' How to remove the ModuleNotFoundError: No module named 'programaker-bridge' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'tlbc-bridge'
ModuleNotFoundError: No module named 'tlbc-bridge'  Hi, My Python... 'tlbc-bridge' How to remove the ModuleNotFoundError: No module named 'tlbc-bridge' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'vim-bridge'
ModuleNotFoundError: No module named 'vim-bridge'  Hi, My Python... 'vim-bridge' How to remove the ModuleNotFoundError: No module named 'vim-bridge' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'workfront-bridge'
ModuleNotFoundError: No module named 'workfront-bridge'  Hi, My... named 'workfront-bridge' How to remove the ModuleNotFoundError: No module named 'workfront-bridge' error? Thanks   Hi, In your
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 '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

Ads