站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Tutorial 5.0 英文版

Getting Set Up to Use the JDBC 2.0 API - Java Tutorial 5.0 英文版

The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Trail: JDBC(TM) Database Access
Lesson: New Features in the JDBC 2.0 API

Getting Set Up to Use the JDBC 2.0 API

If you want to run code that employs any of the JDBC 2.0 features, you will need to do the following:

  1. Download JDK 1.2, following the download instructions
  2. Install a JDBC driver that implements the JDBC 2.0 features used in the code
  3. Access a DBMS that implements the JDBC 2.0 features used in the code

If your driver does not bundle the JDBC 2.0 Standard Extension API (the javax.sql package, you can download it from the JDBC home page (outside of the tutorial) .

The JDBC 2.0 API enables you to do the following:

  • Scroll forward and backward in a result set or move to a specific row.
  • Make updates to database tables, using methods in the Java programming language instead of using SQL commands.
  • Send multiple SQL statements to the database as a unit, or a batch.


Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Copyright 1995-2005 Sun Microsystems, Inc. All rights reserved.