核心技术Ⅱ:数据库编程
5.1 JDBC 的设计· · · · ·· · ······· · · ·· ·········232
5. 1.1 JDBC 驱动程序类型············233
5.1.2 JDBC 的典型用法···············234
5.2 结构化查询语言· · ·· · ················234
5.3 JDBC 配置......................... . .... 239
5.3. l 数据库URL· ··············· ·· ······240
5.3.2 驱动程序JAR 文件····· · ·······240
5.3.3 启动数据库························240
5.3.4 注册驱动器类·· ················· ·· 241
5.3.5 连接到数据库·····················242
5.4 使用JDBC 语句········· · ··· · ·· · ·· ····244
5.4. l 执行SQL 语句····················244
5.4.2 管理连接、语旬和结果集····247
5.4.3 分析SQL 异常··············· · ····248
5.4.4 组装数据库······· · ·········· ······250
5.5 执行查询操作····· · ················ · · · ·254
5.5.1 预备语旬· ··· · ······· · ·· · · ···········254
5.5.2 读写LOB······· · · ········ ··········259
5.5.3 SQL 转义···························261
5.5.4 多结果集················· ·· ····· ····262
5.5.5 获取自动生成的键· ··· ··········263
5.6 可滚动和可更新的结果集......... 263
5.6.1 可滚动的结果集····· · ··· · ··· ·· ·· 264
5.6.2 可更新的结果集… ····· ··· ··· · ···266
5.7 行集··· · ················· · ·················269
5.7.1 构建行集..... . ... . . . . . .............. 270
5.7.2 被缓存的行集·················· · ··270
5.8 元数据···················· · · · ·············273
5.9 事务·················· ····· ················282
5.9.l 用JDBC 对事务编程···········282
5.9.2 保存点............................... 283
5.9.3 批量更新............. ............... 283
5.10 高级SQL 类型....................... 285
5.11 Web 与企业应用中的连接管理..................... . ...... .. . . .. . ... 286