Home Page Icon
Home Page
Table of Contents for
references
Close
references
by Gavin King, Christian Bauer
Java Persistence with Hibernate
Praise for the First Edition
foreword to the revised edition
foreword to the first edition
preface to the revised edition
preface to the first edition
acknowledgments
about this book
about the cover illustration
Getting started with Hibernate and EJB 3.0
Understanding object/relational persistence
What is persistence?
The paradigm mismatch
Persistence layers and alternatives
Object/relational mapping
Summary
Starting a project
Starting a Hibernate project
Starting a Java Persistence project
Reverse engineering a legacy database
Integration with Java EE services
Summary
Domain models and metadata
The CaveatEmptor application
Implementing the domain model
Object/relational mapping metadata
Alternative entity representation
Summary
Mapping concepts and strategies
Mapping persistent classes
Understanding entities and value types
Mapping entities with identity
Class mapping options
Fine-grained models and mappings
Summary
Inheritance and custom types
Mapping class inheritance
The Hibernate type system
Creating custom mapping types
Summary
Mapping collections and entity associations
Sets, bags, lists, and maps of value types
Collections of components
Mapping collections with annotations
Mapping a parent/children relationship
Summary
Advanced entity association mappings
Single-valued entity associations
Many-valued entity associations
Polymorphic associations
Summary
Legacy databases and custom SQL
Integrating legacy databases
Customizing SQL
Improving schema DDL
Summary
Conversational object processing
Working with objects
The persistence lifecycle
Object identity and equality
The Hibernate interfaces
The Java Persistence API
Using Java Persistence in EJB components
Summary
Transactions and concurrency
Transaction essentials
Controlling concurrent access
Nontransactional data access
Summary
Implementing conversations
Propagating the Hibernate Session
Conversations with Hibernate
Conversations with JPA
Conversations with EJB 3.0
Summary
Modifying objects efficiently
Transitive persistence
Bulk and batch operations
Data filtering and interception
Summary
Optimizing fetching and caching
Defining the global fetch plan
Selecting a fetch strategy
Caching fundamentals
Caching in practice
Summary
Querying with HQL and JPA QL
Creating and running queries
Basic HQL and JPA QL queries
Joins, reporting queries, and subselects
Summary
Advanced query options
Querying with criteria and example
Using native SQL queries
Filtering collections
Caching query results
Summary
Creating and testing layered applications
Hibernate in a web application
Creating a persistence layer
Introducing the Command pattern
Designing applications with EJB 3.0
Testing
Summary
Introducing JBoss Seam
The Java EE 5.0 programming model
Improving the application with Seam
Understanding contextual components
Validating user input
Simplifying persistence with Seam
Summary
SQL fundamentals
Mapping quick reference
references
references
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Mapping quick reference
Next
Next Chapter
references
references
references
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset