More Books
Hibernate: A J2EE Developer's Guide
Hibernate: A J2EE™ Developer's Guide
Table of Contents
Copyright
Acknowledgments
About the Author
Preface
Required Skills
Roadmap
Chapter 1. Overview
Why Object/Relational Mapping?
What Is Hibernate?
Comparing JDBC to Hibernate
Hibernate's Mapping System
Other Java/Database Integration Solutions
How to Obtain and Install
Supported Databases
Chapter 2. Getting Oriented
Application Architecture
Mapping Files
Generating Java Source
Application Configuration
Web Application
JSP Interface
Chapter 3. Starting from Java
Java Object Model
Generated Mapping Files
Generated Schema
Working with Artifacts and Owners
Chapter 4. Starting from an Existing Schema
Initial Schema
Using Middlegen
Generated Mapping Files
Generated Java
Working with the Database
Chapter 5. Mapping Files
Basic Structure
Mapping File Reference
Chapter 6. Persistent Objects
Sessions
Objects and Identity
Life-Cycle Methods
Chapter 7. Relationships
Database Relationships
Java Collection Relationships
Java Class Relationships
Any-Based Relationships
Bi-directional Relationships
Chapter 8. Queries
HQL
HQL Reference
Select
From
Where
Group By
Having
Order By
Criteria Queries
Native SQL Queries
Chapter 9. Transactions
Introduction to Transactions
Optimistic and Pessimistic Locking
Chapter 10. Performance
Finding and Solving Problems
Queries
Inserts
Connection Pooling
Caching
Chapter 11. Schema Management
Updating an Existing Schema
Generating Update and Drop Scripts
Chapter 12. Best Practices, Style Guide, Tips and Tricks
Reducing Code with Inversion of Control
Reducing Session Creation Impact with ThreadLocal
Using Hibernate as an EJB BMP Solution
Integrating with Other Technologies
Applications That Use Hibernate
Strategies for Getting Started
Chapter 13. Future Directions
Hibernate 3.0
EJB 3.0
Here and Now
Index
SYMBOL
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X

Index


[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X]

Management
     CMP
     declarative sessions (Hibernate 3.0)
     EJB
     relationships
     schemas
         generating scripts 2nd 3rd 4th 5th 6th 7th
         updating 2nd 3rd 4th
     transactions
     versions
Many-to-any attributes
Many-to-many attributes
Many-to-many relationships
Many-to-one attributes
Many-to-one columns
Many-to-one elements
Many-to-one relationships
Map attributes
Mapping
     components
     joined subclasses
     relational
     subclasses
     systems 2nd
Mapping files 2nd 3rd
mapping files
Mapping files 2nd 3rd 4th 5th 6th 7th
     adding
    Middlegen
         configuration 2nd 3rd 4th 5th 6th 7th 8th 9th
         execution 2nd
         generating 2nd 3rd 4th 5th
     objects 2nd 3rd
     references 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th
MassDelete() methods
Meta attributes 2nd
Meta-type attributes 2nd
Meta-value attributes
Methods
     addClass()
     beginTransaction() 2nd 3rd 4th 5th
     chaining
     deleteObjects()
     discardSession()
     iterate()
     life-cycles 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th
     loadAllObjects()
     massDelet()
     myTransaction.commit()
     session.delete()
     session.flush()
Middlegen [See also Middlegen]
     configuration 2nd 3rd 4th 5th 6th 7th 8th 9th
    databases
         populating 2nd 3rd 4th 5th
         report generation 2nd 3rd 4th 5th 6th 7th 8th
         SQL generation 2nd 3rd
     execution 2nd
     Java
    management
         configuration 2nd 3rd 4th 5th 6th 7th 8th 9th
         execution 2nd
         generated Java
         generated mapping files 2nd 3rd 4th 5th
         populating databases 2nd 3rd 4th 5th
         report generation 2nd 3rd 4th 5th 6th 7th 8th
     mapping files 2nd 3rd 4th 5th
     schema
         staring existing [See also Middlegen]
         updating 2nd 3rd 4th [See also Middlegen]
     sessions 2nd 3rd 4th 5th 6th 7th 8th 9th [See also Middlegen]
     SQL [See also Middlegen]
     SQL generation 2nd 3rd
     support [See also Middlegen]
     transactions [See also Middlegen, Transactions]
Models
     Java Object Model
     JavaBeans
     relational
Monitoring performance
     caching 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th
     collections 2nd
     connection pooling 2nd
     inserts
     IronTrack SQL 2nd 3rd 4th 5th 6th 7th
     lazy objects 2nd
Multiple objects, deleting 2nd
Multiple scripts 2nd 3rd 4th 5th
Multiple SessionFactory objects
Mutable attributes
MySQL
    installation [See SQL]
    schema [See SQL]
MyTransaction.commit() method