Description
Book SynopsisJDBC is the key Java technology for relational database access. Oracle is one of the most widely used relational database platforms. In this volume, Don Bales brings these two technologies together, and shows the reader how to leverage the full power of Oracle's implemantation of JDBC.
Table of ContentsPreface Part I. Overview 1. Introduction to JDBC The JDBC API Clients Using SQL Part II. Connections 2. Application Database Connections JDBC Drivers Installation Connecting to a Database Handling Exceptions 3. Applet Database Connections Oracle Drivers and JDK Versions It's an Applet's Life Packaging Your Applet Getting Around the Sandbox Establishing a Connection Through a Firewall Guidelines for Choosing a Workaround 4. Servlet Database Connections Oracle Driver Selection Servlet Connection Strategies Guidelines for Choosing a Connection Strategy 5. Internal Database Connections Server-Side Driver Types Using the Server-Side Internal Driver Using the Server-Side Thin Driver JServer Program Support 6. Oracle Advanced Security Authentication Data Encryption Data Integrity A Data Encryption and Integrity Example Secure Sockets Layer 7. JNDI and Connection Pooling DataSources Oracle's Connection Cache Part III. Relational SQL 8. A Relational SQL Example Relational Database Analysis Refining the Analysis Relational Database Design 9. Statements Creating a Statement Object The execute( ) Method The executeUpdate( ) Method The executeQuery( ) Method OracleStatement Implements Statement 10. Result Sets Basic Cursor Positioning Data Types Accessor Methods Scrollable, Updateable Result Sets ResultSet Is an OracleResultSet 11. Prepared Statements A Prepared Statement Versus a Statement Formulating SQL Statements Batching PreparedStatement Is an OraclePreparedStatement 12. Streaming Data Types BLOBs CLOBs BFILEs LONG RAWs LONGs 13. Callable Statements Understanding Stored Procedures Calling Stored Procedures CallableStatement Is an OracleCallableStatement Part IV. Object-Relational SQL 14. An Object-Relational SQL Example From Relational Tables to Object Views Object Tables 15. Weakly Typed Object SQL Accessing Objects as Relational Tables Structs Arrays Refs Calling Object Methods Putting It All Together 0racle's Implementations 16. Strongly Typed Object SQL JPublisher The SQLData Interface Oracle's CustomDatum Interface Part V. Essentials 17. Transactions Manual Transactions Transaction Scope Implicit Locking and Visibility Isolation Levels Distributed Transactions 18. Detection and Locking Oracle's Locking Mechanisms Detection Data Integrity Solutions 19. Performance A Testing Framework Auto-Commit SQL92 Token Parsing Statement Versus PreparedStatement Batching Predefined SELECT Statements CallableStatements OCI Versus Thin Drivers 20. Troubleshooting The "Gotchas" Unsupported Features Debugging Net8 Tracing Wait for the Cure Index