473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

odbc jdbc

65
"The designers of ODBC aimed to make it independent of programming languages, database systems, and operating systems."
(http://en.wikipedia.org/wiki/ODBC)

1- Does it mean that all (or most) programming languages can connect to a database directly using ODBC?
or should there be a converter between programming language and the ODBC?
for example how can we connect to oracle or mysql with an application
written by C++ or Perl ?

2- What is the situation for java? if ODBC is independent of programming language as mentioned above why it needs a JDBC or JDBC-ODBC bridge?
Nov 12 '07 #1
3 1625
heat84
118 100+
JDBC simply means java database connectivity . It simply maens that you use ODBC for java database connectivity .thats all
Nov 13 '07 #2
stmfc
65
JDBC simply means java database connectivity . It simply maens that you use ODBC for java database connectivity .thats all
i am still unclear with the answers of the questions in the 1st post.
and this last explanation introduced a new question:
if JDBC use ODBC, then what is the difference between JDBC and JDBC-ODBC bridge?
Nov 13 '07 #3
heat84
118 100+
When you connect to a database using a java application which ever type of database , you use jdbc . However, there are basically two types of jdbc - the one which uses ODBC and the one that does not use ODBC . When you use ODBC when connecting to a database using java , then its known as jdbc-odbc and you have to load a jdbc-odbc driver.
Nov 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mp | last post by:
I just upgraded to Tomcat 4.1.29 and I am receiving the following error when I connect via ODBC to an oracle database: java.lang.ClassNotFoundException: Security Violation, attempt to use...
0
by: Melanie | last post by:
Hi For my company I work for I have to read and process files from Excel, Access or MS SQL. This way is no poblem. I use the JDBC/ODBC bridge to make a delimited file (*.csv) and work with that....
4
by: Riccardo | last post by:
Hi, This jsp code doesn't run. Why ? ----------------------------------------------------------- <%@ page import="java.sql.*" %> <%! String Query(String SQL, String DSN) {
0
by: Sean Anderson | last post by:
ODBC under System DSN Setup Access Driver give it the DSN (Data Source Name) MSA Click on Select and point to the myfile.mdb (your database file)
4
by: Ravi Krishna | last post by:
I am into a new project where I have to write C programs on UNIX connecting to SQLServer through ODBC. I am not able to find sample programs to learn about APIs. Can anyone point out to...
1
by: Dr X | last post by:
I have a problem updating date values using Java via JDBC-ODBC to Access. <snip rs.updateTimestamp(theIndex,theTimeStamp); rs.updateRow(); <snip> (where theTimeStamp is a valid Java Timestamp...
4
by: Izak van Langevelde | last post by:
Shocks. Today I came to learn that Suns jdbc-odbc bridge driver isn't meant for serious purposes; it's experimental. I already knew it isn't thread safe, but didn't think of this as problematic for...
1
by: BARTKO, Zoltán | last post by:
Hello folks, I have installed PgSQL8 beta4 via pginstaller to WinXP. I must tell you I am more familiar with Linux, so maybe my problem is trivial to solve: I made myself a table with...
0
by: jazz1 | last post by:
my coding is <% //Connection conn=null; //Statement st=null; //ResultSet rs=null; int msgCount; try { String userid=request.getParameter("application_no");
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.