-
Chapter 1 Installation and Setup
-
Getting an Ant Distribution
-
Getting the HSQLDB Database Engine
-
Setting Up a Project Hierarchy
-
-
Chapter 2 Introduction to Mapping
-
Writing a Mapping Document
-
Generating Some Class
-
Cooking Up a Schema
-
Connecting Hibernate to MySQL
-
-
Chapter 3 Harnessing Hibernate
-
Creating Persistent Objects
-
Finding Persistent Objects
-
Better Ways to Build Queries
-
-
Chapter 4 Collections and Associations
-
Mapping Collections
-
Persisting Collections
-
Retrieving Collections
-
Using Bidirectional Associations
-
Working with Simple Collections
-
-
Chapter 5 Richer Associations
-
Using Lazy Associations
-
Ordered Collections
-
Augmenting Associations in Collections
-
Lifecycle Associations
-
Reflexive Associations
-
-
Chapter 6 Persistent Enumerated Types
-
Defining a Persistent Enumerated Type
-
Working with Persistent Enumerations
-
-
Chapter 7 Custom Value Types
-
Defining a User Type
-
Using a Custom Type Mapping
-
Building a Composite User Type
-
-
Chapter 8 Criteria Queries
-
Using Simple Criteria
-
Compounding Criteria
-
Applying Criteria to Associations
-
Querying by Example
-
-
Chapter 9 A Look at HQL
-
Writing HQL Queries
-
Selecting Properties and Pieces
-
Sorting
-
Working with Aggregate Values
-
Writing Native SQL Queries
-
-
Appendix A Hibernate Types
-
Basic Types
-
Persistent Enumerated Types
-
Custom Value Types
-
"Any" Type Mappings
-
All Types
-
-
Appendix B Standard Criteria
-
The Expression Factory
-
-
Appendix C Hibernate SQL Dialects
-
Getting Fluent in the Local SQL
-
-
Colophon
- Title:
- Hibernate: A Developer's Notebook
- By:
- James Elliott
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2004
- Ebook Release:
- June 2009
- Pages:
- 192
- Print ISBN:
- 978-0-596-00696-9
- | ISBN 10:
- 0-596-00696-9
- Ebook ISBN:
- 978-0-596-55653-2
- | ISBN 10:
- 0-596-55653-5
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The Developer's Notebook series is modeled on the tradition of laboratory notebooks. Laboratory notebooks are an invaluable tool for researchers and their successors.
The purpose of a laboratory notebook is to facilitate the recording of data and conclusions as the work is being conducted, creating a faithful and immediate history. The notebook begins with a title page that includes the owner's name and the subject of research. The pages of the notebook should be numbered and prefaced with a table of contents. Entries must be clear, easy to read, and accurately dated; they should use simple, direct language to indicate the name of the experiment and the steps taken. Calculations are written out carefully and relevant thoughts and ideas recorded. Each experiment is introduced and summarized as it is added to the notebook. The goal is to produce comprehensive, clearly organized notes that can be used as a reference. Careful documentation creates a valuable record and provides a practical guide for future developers. Colleen Gorman was the production editor and Marlowe Shaeffer was the proofreader for Hibernate: A Developer's Notebook. Mary Agner and Jamie Peppard provided production support. Claire Cloutier provided quality control. Tom Dinse wrote the index.
Edie Freedman designed the cover of this book. Emma Colby produced the cover layout with QuarkXPress 4.1 using the Officina Sans and JuniorHandwriting fonts.
Edie Freedman and David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Adobe Boton; the heading font is ITC Officina Sans; the code font is LucasFont's TheSans Mono Condensed, and the handwriting font is a modified version of JRHand made by Tepid Monkey Fonts and modified by O'Reilly. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Colleen Gorman.
