Chapter1 - Chapter8
序言
排版格式
提交反饋
1.介紹
---1.1 JDBC 類庫
---1.2 平臺
---1.3 目標聽眾
---1.4 鳴謝
2.目標
---2.1 歷史
---2.2 目標概要
3.新特性概覽
---3.1 變動概覽
4.概要
---4.1 建立連接
---4.2 執(zhí)行SQL語句和操縱結果
------4.2.1 對高級SQL數(shù)據(jù)類型的支持
---4.3 兩層模型
---4.4 三層模型
---4.5 J2EE中的JDBC
5.類和接口
---5.1 java.sql包
---5.2 javax.sql包
6.服從規(guī)則(Compliance)
---6.1 定義
---6.2 指導原則和要求
---6.3 JDBC 1.0 API的服從規(guī)則
---6.4 JDBC 2.0 API的服從規(guī)則
---6.5 JDBC 3.0 API的服從規(guī)則
---6.6 JDBC 4.0 API的服從規(guī)則
---6.7 決定服從級別
---6.8 不贊成使用的API
7.數(shù)據(jù)庫元數(shù)據(jù)(Database Metadata)
---7.1 創(chuàng)建DatabaseMetadata對象
---7.2 獲取概要(general)信息
---7.3 決定要支持的特性
---7.4 對數(shù)據(jù)源的限制
---7.5 SQL對象及其屬性
---7.6 對事務的支持
---7.7 新加入的方法
---7.8 經(jīng)過修改的方法
8.異常
---8.1 SQLException類
------8.1.1 對JSE中鏈式異常的支持
------8.1.2 察看SQLException
-----------8.1.2.1 使用ForEach循環(huán)體察看SQLException
---8.2 SQLWarning類
---8.3 DataTruncation類
------8.3.1 不出聲地截斷(Silent Truncation)
---8.4 BatchUpdateException類
---8.5 SQL異常分類
------8.5.1 非暫態(tài)SQL異常
------8.5.2 暫態(tài)SQL異常
英文原文:
Preface 1
Typographic Conventions 2
Submitting Feedback 2
1. Introduction 3
1.1 The JDBC API 3
1.2 Platforms 3
1.3 Target Audience 4
1.4 Acknowledgements 4
2. Goals 7
2.1 History 7
2.2 Overview of Goals 7
3. Summary of New Features 11
3.1 Overview of changes 11
4. Overview 15
4.1 Establishing a Connection 15
4.2 Executing SQL Statements and Manipulating Results 16
4.2.1 Support for SQL Advanced Data Types 17
4.3 Two-tier Model 17
4.4 Three-tier Model 18
4.5 JDBC in the J2EE Platform 20
5. Classes and Interfaces 21
5.1 The java.sql Package 21
5.2 The javax.sql Package 26
6. Compliance 31
6.1 Definitions 31
6.2 Guidelines and Requirements 32
6.3 JDBC 1.0 API Compliance 33
6.4 JDBC 2.0 API Compliance 33
6.5 JDBC 3.0 API Compliance 34
6.6 JDBC 4.0 API Compliance 35
6.7 Determining Compliance Level 35
6.8 Deprecated APIs 36
7. Database Metadata 39
7.1 Creating a DatabaseMetadata Object 40
7.2 Retrieving General Information 40
7.3 Determining Feature Support 41
7.4 Data Source Limits 41
7.5 SQL Objects and Their Attributes 42
7.6 Transaction Support 42
7.7 New Methods 42
7.8 Modified Methods 43
8. Exceptions 45
8.1 SQLException 45
8.1.1 Support for the J2SE Chained Execeptions 46
8.1.2 Navigating SQLExceptions 46
8.1.2.1 Using a For-Each Loop with SQLExceptions 47
8.2 SQLWarning 48
8.3 DataTruncation 48
8.3.1 Silent Truncation 49
8.4 BatchUpdateException 49
8.5 Categorized SQLExceptions 50
8.5.1 NonTransient SQLExceptions 50
8.5.2 Transient SQLExceptions 51
歡迎提出修改意見,謝謝!