|
-
Feb 16th, 2004, 10:53 AM
#1
Thread Starter
Fanatic Member
Jdbc
hi..i am new to jdbc.....and i have some doubts to clear i am now using odbc connection for sql sever.....someone ask me to use jdbc instead....(cuz later db from sql sever is going to integerate with oracle db web sever) ....why use jdbc and how do i change to jdbc? wat advantage is there?...(i am using vb application to talk to my db)
-
Feb 16th, 2004, 03:51 PM
#2
JDBC is the unified Java database API. All Java programs that access databases probably use JDBC for doing so. You cannot use JDBC from any language that doesn't use the Java VirtualMachine (e.g. VB).
The nice thing about JDBC is that you just change the connection string and you can connect to a different kind of database without changing a single line of code. This is very similar to ODBC. You can connect to every database that has a JDBC or (through Sun's JDBC-ODBC bridge) ODBC driver.
ODBC is a language-independent but (I think) Windows-only standard interface for databases. Like JDBC, it provides the same programming interface, no matter what database is at the back end. You can connect to every database that has an ODBC driver.
If you use Java, use JDBC. If you don't use Java, use something else.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Feb 17th, 2004, 06:36 AM
#3
Thread Starter
Fanatic Member
so it means that it is impossible for me to use jdbc driver in my vb application am i right? so how wat am i suppose to do for the integeration of the two databse?( how do they talk to one another?
-
Feb 17th, 2004, 07:58 AM
#4
You can't use JDBC from VB, that's correct.
What two databases do you want to integrate? There's an ODBC driver for Oracle, if you mean that.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Feb 17th, 2004, 08:01 AM
#5
Thread Starter
Fanatic Member
orcale db and sql sever db...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|