Hibernate [Electronic resources] : A Developers Notebook

James Elliott

نسخه متنی -صفحه : 65/ 2
نمايش فراداده

Sitemap

Hibernate: A Developer's Notebook

Table of Contents

Copyright

Preface

How to Use This Book

Font Conventions

On the Web Site

How to Contact Us

Acknowledgments

Chapter 1. Installation and Setup

1.1 Getting an Ant Distribution

1.2 Getting the HSQLDB Database Engine

1.3 Getting Hibernate

1.4 Setting Up a Project Hierarchy

Chapter 2. Introduction to Mapping

2.1 Writing a Mapping Document

2.2 Generating Some Class

2.3 Cooking Up a Schema

2.4 Connecting Hibernate to MySQL

Chapter 3. Harnessing Hibernate

3.1 Creating Persistent Objects

3.2 Finding Persistent Objects

3.3 Better Ways to Build Queries

Chapter 4. Collections and Associations

4.1 Mapping Collections

4.2 Persisting Collections

4.3 Retrieving Collections

4.4 Using Bidirectional Associations

4.5 Working with Simple Collections

Chapter 5. Richer Associations

5.1 Using Lazy Associations

5.2 Ordered Collections

5.3 Augmenting Associations in Collections

5.4 Lifecycle Associations

5.5 Reflexive Associations

Chapter 6. Persistent Enumerated Types

6.1 Defining a Persistent Enumerated Type

6.2 Working with Persistent Enumerations

Chapter 7. Custom Value Types

7.1 Defining a User Type

7.2 Using a Custom Type Mapping

7.3 Building a Composite User Type

Chapter 8. Criteria Queries

8.1 Using Simple Criteria

8.2 Compounding Criteria

8.3 Applying Criteria to Associations

8.4 Querying by Example

Chapter 9. A Look at HQL

9.1 Writing HQL Queries

9.2 Selecting Properties and Pieces

9.3 Sorting

9.4 Working with Aggregate Values

9.5 Writing Native SQL Queries

Appendix A. Hibernate Types

A.1 Basic Types

A.2 Persistent Enumerated Types

A.3 Custom Value Types

A.4 'Any' Type Mappings

A.5 All Types

Appendix B. Standard Criteria

B.1 The Expression Factory

Appendix C. Hibernate SQL Dialects

C.1 Getting Fluent in the Local SQL

Colophon