Java Hibernate Cookbook
Yogesh Prajapati, Vishal Ranapariya
- 出版商: Packt Publishing
- 出版日期: 2015-09-18
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 250
- 裝訂: Paperback
- ISBN: 1784391905
- ISBN-13: 9781784391904
-
相關分類:
Java 相關技術、Java 程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Over 50 recipes to help you build dynamic and powerful real-time Java Hibernate applications
About This Book
- Learn to associate JDBC and Hibernate with object persistence
- Manage association mappings, implement basic annotations and learn caching
- Get to grips with Hibernate fundamentals from installation to developing a business application with this step-by-step guide
Who This Book Is For
This is book for Java developers who now want to learn Hibernate. Good knowledge and understanding of Java is preferred to allow efficient programming of the core elements and applications; it would be helpful if readers are familiar with the basics of SQL.
What You Will Learn
- Set up and install Hibernate on your system and explore different ways in which Hibernate can be configured
- Learn the basic concepts and fundamentals of Java Hibernate
- Define mappings without a use of XML file using Annotations
- Persist collection elements such as list, map, set and array
- Explore the various mapping options and learn to work with Hibernate associations
- Understand advanced Hibernate concepts such as caching and inheritance
- Develop an engaging and robust real-world hibernate application based on a common business scenario
- Integrate Hibernate with other frameworks to develop robust enterprise applications
In Detail
Hibernate is a database independent technology, so the same code will work for all databases. It helps a Java developer write a query by mapping Java bean to database tables and help create tuned queries that boost performance. Even with limited SQL knowledge one can easily perform database operations. This makes the development faster and more accurate than JDBC. Hibernate supports useful features like connection pooling, caching, and inheritance etc.
This book will provide a useful hands-on guide to Hibernate to accomplish the development of a real-time Hibernate application.
We will start with the basics of Hibernate, which include setting up Hibernate – the pre-requisites and multiple ways of configuring Hibernate using Java. We will then dive deep into the fundamentals of Hibernate such as SessionFactory, session, criteria, working with objects and criteria. This will help a developer have a better understanding of how Hibernate works and what needs to be done to run a Hibernate application. Moving on, we will learn how to work with annotations, associations and collections. In the final chapters, we will see explore querying, advanced Hibernate concepts and integration with other frameworks.
Style and approach
This book is a practical guide filled with carefully organized step-by-step instructions. All recipes are arranged in an easy-to understand and clear manner allowing you to apply the solutions to other situations.
商品描述(中文翻譯)
超過50個食譜,幫助您建立動態且強大的即時Java Hibernate應用程式
關於本書
- 學習將JDBC和Hibernate與物件持久化相關聯
- 管理關聯映射,實現基本註釋並學習快取
- 透過逐步指南,從安裝到開發業務應用程式,掌握Hibernate的基礎知識
本書適合對Java開發人員想要學習Hibernate的讀者。熟悉並理解Java的知識是必要的,以便有效地編程核心元素和應用程式;如果讀者熟悉SQL的基礎知識,將會有所幫助。
您將學到什麼
- 在系統上設置和安裝Hibernate,並探索不同的Hibernate配置方式
- 學習Java Hibernate的基本概念和基礎知識
- 使用註釋定義映射,而無需使用XML文件
- 持久化集合元素,如列表、映射、集合和數組
- 探索各種映射選項,並學習如何使用Hibernate關聯
- 瞭解高級Hibernate概念,如快取和繼承
- 基於常見的業務場景開發引人入勝且堅固的實時Hibernate應用程式
- 將Hibernate與其他框架集成,開發堅固的企業應用程式
詳細內容
Hibernate是一種獨立於資料庫的技術,因此相同的程式碼適用於所有資料庫。它幫助Java開發人員通過將Java bean映射到資料庫表格來撰寫查詢,並幫助創建調整過的查詢以提升效能。即使對SQL知識有限,也可以輕鬆執行資料庫操作。這使得開發速度比JDBC更快且更準確。Hibernate支援有用的功能,如連接池、快取和繼承等。
本書將提供一個實用的Hibernate實時應用程式指南。
我們將從Hibernate的基礎知識開始,包括設置Hibernate的先決條件以及使用Java進行多種配置的方式。然後,我們將深入探討Hibernate的基礎知識,如SessionFactory、session、criteria和與物件和criteria一起工作。這將幫助開發人員更好地理解Hibernate的工作原理以及運行Hibernate應用程式所需的步驟。接下來,我們將學習如何使用註釋、關聯和集合。在最後幾章中,我們將探索查詢、高級Hibernate概念和與其他框架的集成。
風格和方法
本書是一本實用指南,充滿了精心組織的逐步指示。所有食譜都以易於理解和清晰的方式排列,讓您可以將解決方案應用於其他情況。