difference between ODBC and JDBC
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


difference between ODBC and JDBC Expand / Collapse
Author
Message
Posted 6/5/2007 12:23:53 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/15/2008 3:50:12 AM
Posts: 118, Visits: 64
What is the difference between odbc and jdbc drivers?
is it just the application calling database ,


Post #7733
Posted 6/6/2007 12:13:33 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/24/2008 2:47:14 PM
Posts: 425, Visits: 398
They are two different sets of standards (ODBC from microsoft and JDBC from Sun) that were created so that Developers can write code that could use a standard set of API calls from their programs and talk to any database using a suitable driver which could translate the API (which was fixed across all vendors) calls to Database specific protocols (which was vendor dependent)(save JDBC type 1&3 drivers which had other tiers doing that work of translation to DB protocol).

Now the implication of all that is, if you developed a program using JDBC API, and oracle as backend, you could port it to Teradata with almost no effort, as long as you haven't written any oracle specific SQL. The only changes would be in the connection string and you would have to load the right driver for the database.
Post #7737
Posted 6/6/2007 5:08:36 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/15/2008 3:50:12 AM
Posts: 118, Visits: 64
thanks for reply,
is Websphere and Jserver are related technologies and uses JDBC
Post #7740
Posted 6/6/2007 5:41:19 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/24/2008 2:47:14 PM
Posts: 425, Visits: 398
Though it's not my area of expertise, I wouldn't think these two are related. Websphere is an application server, so you have your Java applications running on it. And those java applications may use JDBC if they need to connect to the database.


JServer, as far as my knowledge goes, is an oracle attempt in providing a "built in" compiler inside the database, which enables the programmers to write code in the database (like procedures, triggers etc) in java. It doesn't have anything to do with JDBC.
Post #7741
Posted 6/6/2007 12:39:33 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/15/2008 3:50:12 AM
Posts: 118, Visits: 64
Thanks for reply,

is it possible to connect sql assistant using JDBC
or can you tell me any way to test the JDBC
Post #7758
Posted 6/6/2007 11:56:24 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/24/2008 2:47:14 PM
Posts: 425, Visits: 398
SQL assistant is a ODBC based client.

You can use Squirrel SQL client available here to connect to databases via JDBC, it works with Teradata as well.

http://squirrel-sql.sourceforge.net/
Post #7763
Posted 9/20/2007 4:11:03 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/16/2007 9:43:00 AM
Posts: 4, Visits: 1
Hi,
I just want to know, is there any difference in Teradata SQL using JDBC driver.

Thanks,


Teradata Developer
Post #8971
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 5:02pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Disabled.