Just Spring Data Access (Paperback)
暫譯: 僅限 Spring 數據存取 (平裝本)

Madhusudhan Konda

  • 出版商: O'Reilly
  • 出版日期: 2012-07-17
  • 定價: $660
  • 售價: 8.0$528
  • 語言: 英文
  • 頁數: 76
  • 裝訂: Paperback
  • ISBN: 1449328385
  • ISBN-13: 9781449328382
  • 相關分類: Java 相關技術
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

JDBC has simplified database access in Java applications, but a few nagging wrinkles remain—namely, persisting Java objects to relational databases. With this book, you’ll learn how the Spring Framework makes that job incredibly easy with dependency injection, template classes, and object-relational-mapping (ORM).

Through sample code, you’ll discover how Spring streamlines the use of JDBC and ORM tools such as Hibernate, the Java Persistence API (JPA), and Java Data Objects (JDO). If you’re a Java developer familiar with Spring (perhaps through O’Reilly’s Just Spring tutorial) and want to advance your data access skills, this book shows you how.

  • Learn how to use Spring’s basic and advanced data access tools
  • Work with Spring’s JdbcTemplate class to separate non-critical code from business code
  • Eliminate placeholder variables in your queries with the NamedParameterJdbcTemplate class
  • Use Spring’s template classes to perform batch executions
  • Operate inserts on database tables without writing any SQL statements
  • Learn about Spring’s support for Hibernate as an object-relational-mapping tool
  • Use JPA as a standards-based ORM—alone or with Spring support
  • Move data from a relational to a non-relational database with JDO

商品描述(中文翻譯)

JDBC 簡化了 Java 應用程式中的資料庫存取,但仍然存在一些令人困擾的問題——即將 Java 物件持久化到關聯式資料庫。透過這本書,您將學習 Spring Framework 如何利用依賴注入、模板類別和物件關聯映射(ORM)使這項工作變得非常簡單。

透過範例程式碼,您將發現 Spring 如何簡化 JDBC 和 ORM 工具的使用,例如 Hibernate、Java Persistence API(JPA)和 Java Data Objects(JDO)。如果您是一位熟悉 Spring 的 Java 開發者(或許透過 O’Reilly 的《Just Spring》教程),並希望提升您的資料存取技能,這本書將指導您如何做到。

- 學習如何使用 Spring 的基本和進階資料存取工具
- 使用 Spring 的 JdbcTemplate 類別將非關鍵程式碼與業務程式碼分開
- 使用 NamedParameterJdbcTemplate 類別消除查詢中的佔位符變數
- 使用 Spring 的模板類別執行批次操作
- 在不撰寫任何 SQL 語句的情況下對資料庫表進行插入操作
- 了解 Spring 對 Hibernate 作為物件關聯映射工具的支援
- 將 JPA 作為基於標準的 ORM 使用——單獨使用或搭配 Spring 支援
- 使用 JDO 將資料從關聯式資料庫移動到非關聯式資料庫

最後瀏覽商品 (20)