Is JDBC still the Java standard for DB connections ?

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Is JDBC still the Java standard for DB connections ?

  1. #1
    Join Date
    Dec 2005

    Is JDBC still the Java standard for DB connections ?

    I am wondering if JDBC is still the Java standard for making a database connection. I ask because is seems that JDBC still looks very much like the old ODBC. I used to use ODBC for all my DB connections, but in my latest .Net 2.0 project I use ADO.Net for all my database requests.
    I know the ADO.Net class is a much better and a much more secure method for making DB requests and updates. Is there something equivalent to ADO in the Java world ?

    Thank you,
    New York

  2. #2
    Join Date
    Dec 2005
    What does ADO.NET do that JDBC 3.0 doesn't?

  3. #3
    Join Date
    Dec 2005
    I'm fairly new to Java and the J2EE platform, so at this point I cannot say that ADO.Net necessarily does anything more or better than JDBC.
    I do know that Ado.Net is a wrapper class around the OLEDB connection technology; it is certainly more secure than ODBC in that it does not expose the command string when executing a procedure or query on the backend.
    It is also an improvement over the previous ADO class and its RecordSet, where there was limited support for a disconnected environment. Ado.Net now supports in-memory tables.

    Anyhow, I will just continue doing research in order to understand data access in Java.

  4. #4
    Join Date
    Dec 2005
    Yes,JDBC4.0 will come with jdk 1.6 soon.That means jdbc is still a standard for database. although you can use hibernate , jdo or cmp.but all of them are based on JDBC

Similar Threads

  1. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  2. java jdbc connection on w2k, Oracle8i, JDK1.3
    By frest in forum oracle.general
    Replies: 0
    Last Post: 05-01-2001, 07:33 AM
  3. Java Enterprise And Standard Edition
    By Saiful in forum Java
    Replies: 2
    Last Post: 09-28-2000, 12:07 PM
  4. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center