English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Recently, I came across this problem.
The ODBC ( Open Database Connectivity) API methods with particular reference to Java programming are written in which programming language?

In accordance with the information available in the internet, there are two possible answers, that is, C and C++.
Consequently, I am looking for the correct solution corresponding to the problem under reference together with sufficient reasons.

2006-10-08 18:31:30 · 3 answers · asked by K Sengupta 4 in Computers & Internet Programming & Design

3 answers

ODBC is programmed in the C Language, but as C++ is a derivative of C, they can programmed in it as well.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcabout_this_manual.asp

You'll need to use a JDBC-ODBC Bridge for java based data interactions. Each driver is different based upon the database you are using.

2006-10-08 18:44:45 · answer #1 · answered by addtheninth 2 · 0 0

i think of it is sensible while installation those connections to apply a sq. browser which provides extremely of help in installation a connection, so which you a minimum of could confirm you will get to it from the browser. i exploit SQuirreL, which suits for all of the favored RDBMSs. you will first ought to discover the MySql get admission to interior the Drivers checklist and edit the classpath to comprise the jar you downloaded. Then, you will have the means to create an alias utilising that motive force. it provides you with somewhat template for growing to be the JDBC URL. you'll have the means to parent it out from that. by using how, there is exceptionally much in no way any good reason to set the CLASSPATH ecosystem variable. this is used globally by using all Java purposes. you're lots extra perfect off utilising settings that are particular on your utility. the form you enforce this relies upon at certainly one of those utility and our environment you're working in.

2016-11-27 02:01:43 · answer #2 · answered by ? 3 · 0 0

I would think it is C++ because of its object oriented approach and its better networking capabilites.

2006-10-08 18:34:46 · answer #3 · answered by Krishna 4 · 0 0

fedest.com, questions and answers