Results 1 to 5 of 5

Thread: Jdbc

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908

    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)

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    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?

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    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
  •  



Click Here to Expand Forum to Full Width