JDBC Pocket Reference

Roadkill Books
roadkillbooks@yahoo.com
Home    View Cart    Alavio    Contact Us

Search Roadkill Books

Current Category
Books
   Computers & Internet

All Categories

Narrow by Category
Certification Central
Computer & Video Games
Computer Science
Databases
Digital Business & Culture
General
Graphics & Illustration
Hardware
Home & Office
Microsoft
Networking
Operating Systems
Programming
Software
Web Development


JDBC Pocket Reference

Detail Center Header Text Above Items
JDBC Pocket Reference
(Larger Image)

JDBC Pocket Reference

by Donald Bales
Product Group: Book
Publisher: O'Reilly Media, Inc. (2003-01-01)
ISBN: 0596004575
EAN: 9780596004576
UPC: 636920004578
Dewy Decimal #: 005.133
Paperback: 152 pages
Edition: 1st
SKU: T071209-3539
Condition: Very Good
Comments: Very good overall condition. No writing, very tight binding. Ships first class same day or next. Enjoy.


Editorial Reviews


Product Description
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.


Customer Reviews


A friendly and well-written book recommended for anyone ready to learn JDBC.
Rating (5)
Date: 2008-06-13


A friendly and well-written book recommended for anyone ready to learn JDBC. This JDBC Pocket Reference well-written and well-organized introduction to the JDBC. It uses a careful, example-based, easy to understand approach. Contains many examples and other useful information.
Thank you


Half Useful?
Rating (4)
Date: 2006-03-07

3 out of 3 customers found this reveiw helpful


The first third or so of this book consists of a nice, concise overview of JDBC, with an example for each concept. The rest is basically a printed copy of API documentation you can get online. These really are easier to read it online — the docs for DatabaseMetaData, for example, are about twenty pages long and much easier to deal with in hyperlinked format. The descriptions have been reworded (and shortened) and sometimes are a little easier to understand in the book.

The book is probably enough to get you started using JDBC, especially if you have some experience using database APIs in the past (ODBC or a vendor-proprietary one).

So, my recommendation is: It's half useful, so buy it used for half price. ;-)


Great Pocket Reference for JDBC
Rating (4)
Date: 2003-04-03

7 out of 7 customers found this reveiw helpful


"JDBC Pocket Reference" by Donald Bales is another great reference book from O'Reilly. Like many of O'Reilly's pocket reference books, the book has a small form factor. You can easily carry the book in your briefcase or back pocket. The book is only 145 pages long. The first 45 pages give a terse and concise explanation of how to use the JDBC API and the last 100 pages provides a quick reference to the JDBC 2.0 API. The following paragraphs provide more detail on how the book can be used by a programmer.

The book is intended for programmers, but could also be applicable to ambitious database administrators (DBA) that want to create Java utilities to monitor and automate some of their DBA tasks. If you are familiar with SQL and database topics the book can provide you with a quick reference on syntax and procedures that you might forget. The book is not a tutorial on SQL, client/server programming, or relational databases. If you are not familiar with these topics or you want to learn more the JDBC Pocket Reference is not for you.

The first 45 pages of the book are packed with helpful examples of how to use the JDBC API. Most JDBC programmers are familiar with these examples but often need reminders on proper syntax for different database vendors and drivers. Here are a few examples of explanations I found helpful:

1. JDBC Driver types: There are four classes of JDBC drivers called type 1, 2, 3, and 4 respectively. Type 4 is the only pure 100% Java driver and is the only type described in the book, but it is helpful to understand what driver types are available.

2. Database URL Syntax: Getting the proper database connection string can be frustrating since every database vendor is different. This task is usually done only once at the start of a project so it is easy to forget the correct syntax. The Pocket Reference describes 9 different database drivers giving the appropriate connection information, online references, archive file name, and supported properties for the driver.

3. Using JNDI to obtain a data source.

4. Using DatabaseMetaData API to find information about the database properties and capabilities.

5. Good examples for executing standard SQL statements and retrieving the results through the ResultSet interface.

6. Store Procedures: Using the CallableStatement object to execute a stored procedure is one of the most difficult JDBC calls because stored procedures are vendor dependent. The book outlines how to set input and output parameters appropriately to make the call. I found this very helpful since a lot of the documentation from database vendors do not describe this operation very well.

7. Properly handling "null" values in JDBC. This is important because a database NULL is different than a Java null.

8. Inserting and updating binary blobs is explained.

9. Describes and explains how to use User-Defined Data Types (UDTs) to help you map objects to a relational database.

10. Describes proper escape sequences ensure that your JDBC code is portable across database vendors.

The only criticism I have for the book is its lack of examples for database connection pooling and transaction support. Committing and rolling back transactions was mentioned briefly, but the book didn't give any examples. Also, the only reference to distributed transaction support was in the JDBC API reference under the XAConnection class. Distributed transaction support is a big part of the Java 2 Enterprise Edition (J2EE) and comes standard with most J2EE containers. Then again this is just a pocket reference so the author couldn't include everything.

... I highly recommend it for any programmer that works with database systems. The books provides a quick reminder on proper syntax and procedures without requiring you to carry a backpack full of 500 page books.


Not the best book on JDBC
Rating (1)
Date: 2003-03-20

2 out of 9 customers found this reveiw helpful


The O'Reilly JDBC books are the worst of their Java selection: too short and only cover the bare minimum to get simple tasks done.

Retail Price: $9.95
Our Price:$5.48
That's 45% Off!

Detail Center Footer Text Below Items
 

Roadkill Books Ships Fast!