Hibernate Tips: More Than 70 Solutions to Common Hibernate Problems
暫譯: Hibernate 提示:超過 70 個常見 Hibernate 問題的解決方案

Thorben Janssen

  • 出版商: CreateSpace Independ
  • 出版日期: 2017-03-25
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1544869177
  • ISBN-13: 9781544869179
  • 相關分類: Java 相關技術
  • 無法訂購

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

商品描述

When you use Hibernate in your projects, you quickly recognize that you need to do more than just add @Entity annotations to your domain model classes. Real-world applications often require advanced mappings, complex queries, custom data types, and caching. Hibernate can do all of that. You just have to know which annotations and APIs you need to use.

Hibernate Tips: More than 70 solutions to common Hibernate problems show you how to efficiently implement your persistence layer with Hibernate's basic and advanced features. Each Hibernate tip consists of one or more code samples and an easy-to-follow step-by-step explanation. You can also download an example project with executable test cases for each Hibernate tip.

This book gives you more than 70 ready-to-use solutions that show how to:
  • Define standard mappings for basic attributes and entity associations.
  • Implement your own attribute mappings and support custom data types.
  • Use Hibernate's Java 8 support and other proprietary features.
  • Read data from the database with JPQL, Criteria API, and native SQL queries.
  • Call stored procedures and database functions.
Get your copy of Hibernate Tips: More than 70 solutions to common Hibernate problems now and implement your persistence layer with ease.

商品描述(中文翻譯)

當您在專案中使用 Hibernate 時,您會迅速意識到您需要做的不僅僅是為您的領域模型類別添加 @Entity 註解。現實世界的應用程式通常需要進階的映射、複雜的查詢、自訂資料類型和快取。Hibernate 可以做到這一切。您只需知道需要使用哪些註解和 API。

Hibernate 提示:超過 70 種解決常見 Hibernate 問題的方案向您展示如何有效地使用 Hibernate 的基本和進階功能來實現您的持久層。每個 Hibernate 提示都包含一個或多個程式碼範例和易於遵循的逐步解釋。您還可以下載一個示例專案,該專案包含每個 Hibernate 提示的可執行測試案例。

本書提供超過 70 種現成的解決方案,展示如何:


  • 為基本屬性和實體關聯定義標準映射。

  • 實現您自己的屬性映射並支援自訂資料類型。

  • 使用 Hibernate 的 Java 8 支援和其他專有功能。

  • 使用 JPQL、Criteria API 和原生 SQL 查詢從資料庫讀取資料。

  • 呼叫儲存過程和資料庫函數。


立即獲得您的 Hibernate 提示:超過 70 種解決常見 Hibernate 問題的方案,輕鬆實現您的持久層。