JDBC Pocket Reference
暫譯: JDBC 口袋參考手冊
Donald Bales
- 出版商: O'Reilly
- 出版日期: 2003-03-04
- 售價: $650
- 貴賓價: 9.5 折 $618
- 語言: 英文
- 頁數: 152
- 裝訂: Paperback
- ISBN: 0596004575
- ISBN-13: 9780596004576
已過版
買這商品的人也買了...
-
$680$537 -
$2,660$2,527 -
$680$537 -
$980$774 -
$580$452 -
$560$476 -
$450$351 -
$1,900$1,805 -
$550$435 -
$620$527 -
$780$741 -
$750$638 -
$650$514 -
$760$600 -
$580$493 -
$590$466 -
$620$490 -
$480$374 -
$690$538 -
$420$332 -
$720$562 -
$720$569 -
$750$638 -
$560$476 -
$750$593
相關主題
商品描述
JDBC--the Java Database Connectivity specification--is a complex set of
application programming interfaces (APIs) that developers need to understand if
they want their Java applications to work with databases. JDBC is so complex
that even the most experienced developers need to refresh their memories from
time to time on specific methods and details. But, practically speaking, who
wants to stop and thumb through a weighty tutorial volume each time a question
arises? The answer is the JDBC Pocket Reference, a data-packed quick
reference that is both a time-saver and a lifesaver.
The JDBC Pocket
Reference offers quick look-ups for all methods of the standard JDBC
classes. These include concise reviews of the procedures for common JDBC tasks
such as connecting to a database, executing stored procedures, executing DDL and
the like. You'll find documentation of the connect string formats for the most
common databases, including Oracle, SQL-Server, and PostgreSQL. You'll even find
information on working with large objects, and on using SQL99 user defined
datatypes to work with object-relational data. Searching for this sort of
material through large tutorials is frustrating and a waste of time, but this
pocket-sized book is easy to take anywhere and makes finding the information you
need a snap.
O'Reilly's Pocket References have become a favorite among
developers everywhere. By providing a wealth of important details in a concise,
well-organized format, these handy books deliver just what you need to complete
the task at hand. When you've reached a sticking point and need to get to the
answer quickly, the new JDBC Pocket Reference is the book you'll want
close at hand.
Table of Contents
Introduction
Import Statements
JDBC Drivers
Driver Types
Database URLsEstablishing a Connection
Using DriverManager
Using JNDIExamining Database MetaData
Executing Dynamic SQL
Executing DDL
Executing INSERT, UPDATE, or DELETE Statements
Executing SELECT StatementsExecuting Precompiled SQL
Executing a Stored Procedure
Retrieving Query Results
Navigating a Result Set
Accessing Column Values
Inserting, Updating, and Deleting Rows in a ResultSet
Dynamically Determining Result Set CharacteristicsSQL/Java Data Type Mapping
Handling NULL Values
Detecting NULL Values with wasNull( )
Detecting NULL Values with BigDecimal
Setting a Column to a NULL ValueBatching Inserts and Updates
Working with Large Objects
Inserting a BLOB
Retrieving a BLOBUser-Defined Data Types
Creating a Java Class for a UDT
Updating a Type Map
Inserting a UDT
Selecting a UDTRow Sets
Escape Syntax
Transaction Management
The JDBC API
商品描述(中文翻譯)
JDBC(Java 資料庫連接規範)是一組複雜的應用程式介面(APIs),開發人員需要了解這些介面,才能讓他們的 Java 應用程式與資料庫協同工作。JDBC 的複雜程度如此之高,即使是最有經驗的開發人員也需要不時回顧特定的方法和細節。但實際上,誰會想在每次遇到問題時都停下來翻閱一本厚重的教程呢?答案就是《JDBC 口袋參考》,這本資料豐富的快速參考書既能節省時間又能救急。
《JDBC 口袋參考》提供了標準 JDBC 類別所有方法的快速查詢。這些方法包括連接到資料庫、執行儲存過程、執行 DDL 等常見 JDBC 任務的簡明回顧。您將找到最常見資料庫的連接字串格式的文檔,包括 Oracle、SQL-Server 和 PostgreSQL。您甚至會找到有關處理大型物件的資訊,以及使用 SQL99 使用者定義資料類型來處理物件關聯資料的資訊。通過大型教程尋找這類資料既令人沮喪又浪費時間,但這本口袋大小的書籍便於攜帶,讓您輕鬆找到所需的資訊。
O'Reilly 的口袋參考書已成為全球開發人員的最愛。這些實用的書籍以簡潔、組織良好的格式提供大量重要細節,正好滿足您完成手頭任務的需求。當您遇到瓶頸並需要快速找到答案時,新的《JDBC 口袋參考》將是您隨手可得的好幫手。
目錄
引言
匯入語句
JDBC 驅動程式
驅動程式類型
資料庫 URL
建立連接
使用 DriverManager
使用 JNDI
檢查資料庫 MetaData
執行動態 SQL
執行 DDL
執行 INSERT、UPDATE 或 DELETE 語句
執行 SELECT 語句
執行預編譯 SQL
執行儲存過程
檢索查詢結果
瀏覽結果集
存取欄位值
在 ResultSet 中插入、更新和刪除列
動態確定結果集特徵
SQL/Java 資料類型對應
處理 NULL 值
使用 wasNull() 偵測 NULL 值
使用 BigDecimal 偵測 NULL 值
將欄位設置為 NULL 值
批次插入和更新
處理大型物件
插入 BLOB
檢索 BLOB
使用者定義資料類型
為 UDT 創建 Java 類
更新類型映射
插入 UDT
選擇 UDT
行集
轉義語法
交易管理
JDBC API