473,809 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

odbc jdbc

65 New Member
"The designers of ODBC aimed to make it independent of programming languages, database systems, and operating systems."
(http://en.wikipedia.or g/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 1649
heat84
118 New Member
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 New Member
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 New Member
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
4119
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 Restricted Class: sun.jdbc.odbc.JdbcOdbcDriver This is a JSP application (NOT an applet). Does anyone have any idea's what I need to do to fix this?
0
6277
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. But now I have to export the processed delimited files back to an Excel file, Access file or in MS SQL. How this will work? Is their a way to use also the JDBC/ODBC bridge? Has anyone some links or tutorials?
4
13877
by: Riccardo | last post by:
Hi, This jsp code doesn't run. Why ? ----------------------------------------------------------- <%@ page import="java.sql.*" %> <%! String Query(String SQL, String DSN) {
0
5210
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
2068
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 documentation containing ODBC APIs for C. TIA.
1
4118
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 and theIndex is the column index in the resultset.) is the way specified in the Java API. The (very non-specific) error reported
4
4155
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 the relatively simple system I'm using it. However, I suspect there are other issues. Currently I'm stuck with a query which takes less than one second if I run it somewhere in my program's main thread, while it takes easily 40 seconds when I...
1
2746
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 PgAdmin III (I was lazy to use psql) that I tried to reach via ODBC. I created connection to my database, supplied a user, server, etc., all that was needed.
0
2022
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
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10379
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9199
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7660
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.