Hibernate Tips: More Than 70 Solutions to Common Hibernate Problems

Thorben Janssen

  • 出版商: CreateSpace Independ
  • 出版日期: 2017-03-25
  • 售價: $1,320
  • 貴賓價: 9.5$1,254
  • 語言: 英文
  • 頁數: 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 Tips: More than 70 solutions to common Hibernate problems》向你展示如何使用Hibernate的基本和高級功能高效實現持久層。每個Hibernate提示都包含一個或多個代碼示例和易於理解的逐步解釋。你還可以下載一個帶有可執行測試用例的示例項目,用於每個Hibernate提示。

這本書提供了70多個現成的解決方案,展示如何:
- 為基本屬性和實體關聯定義標準映射。
- 實現自己的屬性映射並支持自定義數據類型。
- 使用Hibernate的Java 8支持和其他專有功能。
- 使用JPQL、Criteria API和本地SQL查詢從數據庫讀取數據。
- 調用存儲過程和數據庫函數。

立即獲取《Hibernate Tips: More than 70 solutions to common Hibernate problems》一書,輕鬆實現你的持久層。