目錄(85章)
倒序
- coverpage
- Java Hibernate Cookbook
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Sections
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Setting Up Hibernate
- Introduction
- Getting the required libraries for hibernate
- Creating a hibernate persistent class
- Providing an XML-based hibernate mapping
- Providing an annotation-based hibernate mapping
- Providing a hibernate configuration using an XML file
- Providing a hibernate configuration using the properties file
- Configuring hibernate programmatically
- Chapter 2. Understanding the Fundamentals
- Introduction
- Building a SessionFactory
- Creating a generic SessionFactory provider class
- Opening a new session
- Opening a stateless session
- Saving an object to the database
- Fetching an object from the database
- Removing an object from the database
- Updating an object
- Creating a criteria
- Restricting the results using a criteria
- Pagination using a criteria
- Sorting the results
- Transforming a result
- Using basic projection
- Chapter 3. Basic Annotations
- Introduction
- Declaring a class as an entity and creating a table in the database – @Entity and @Table
- Creating a column in the table – @Column
- Creating a primary key and composite primary key column – @Id and @IdClass
- Creating an autogenerator column
- Chapter 4. Working with Collections
- Introduction
- Persisting List
- Persisting Set
- Persisting Map
- Persisting Array
- Chapter 5. Working with Associations
- Introduction
- One-to-one mapping using foreign key association
- One-to-one mapping using a common join table
- One-to-one mapping using a common primary key
- One-to-many mapping or many-to-one mapping
- Many-to-many mapping
- Chapter 6. Querying
- Introduction
- Working with an alias
- Performing aggregate operations
- Executing a subquery using a criteria
- Executing a native SQL query
- Executing a query using HQL
- Using formula in hibernate
- Working with NamedQuery
- Chapter 7. Advanced Concepts
- Introduction
- Working with a first-level cache
- Working with a second-level cache
- Working with a query cache
- Working with the table per class hierarchy strategy of inheritance
- Working with the table per subclass strategy of inheritance
- Working with the table per concrete class strategy of inheritance
- Working with the versioning of objects
- Maintaining the history of an object
- Working with an interceptor
- Working with batch processing
- Chapter 8. Integration with Other Frameworks
- Introduction
- Integration with Spring
- Integration with Struts
- Index 更新時間:2021-07-16 19:59:57
推薦閱讀
- Oracle從入門到精通(第3版)
- Xcode 7 Essentials(Second Edition)
- 程序員數學:用Python學透線性代數和微積分
- C語言程序設計實訓教程
- Python高效開發(fā)實戰(zhàn):Django、Tornado、Flask、Twisted(第2版)
- Expert Android Programming
- Effective Python Penetration Testing
- JavaScript+Vue+React全程實例
- Lift Application Development Cookbook
- Nagios Core Administration Cookbook(Second Edition)
- 從Power BI到Analysis Services:企業(yè)級數據分析實戰(zhàn)
- Emotional Intelligence for IT Professionals
- 玩轉.NET Micro Framework移植:基于STM32F10x處理器
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- 軟件測試技術
- C/C++代碼調試的藝術
- JavaScript重難點實例精講
- 3ds Max瘋狂設計學院
- Delphi Cookbook
- 深入理解C++11:C++11新特性解析與應用
- Java Web程序員面試筆試寶典
- Learning Predictive Analytics with R
- RabbitMQ Essentials
- 零基礎學Java項目開發(fā)
- Unreal Engine Game Development Blueprints
- OpenStack Cloud Security
- CMake構建實戰(zhàn):項目開發(fā)卷
- 重構與模式(修訂版)
- Learning Embedded Linux Using the Yocto Project
- Scratch 3.0趣味編程精彩實例