Hibernate in Action 1st Edition by Christian Bauer, Gavin King – Ebook PDF Instant Download/Delivery: 1932394370, 9781932394375
Full download Hibernate in Action 1st Edition after payment

Product details:
ISBN 10: 1932394370
ISBN 13: 9781932394375
Author: Christian Bauer, Gavin King
Hibernate in Action 1st Table of contents:
Chapter 1: Understanding Object/Relational Persistence
-
What is persistence?
-
Relational databases
-
Understanding SQL
-
Using SQL in Java
-
Persistence in object-oriented applications
-
The paradigm mismatch
-
The problem of granularity
-
The problem of subtypes
-
The problem of identity
-
Problems relating to associations
-
The problem of object graph navigation
-
The cost of the mismatch
-
-
Persistence layers and alternatives
-
Layered architecture
-
Hand‑coding a persistence layer with SQL/JDBC
-
Using serialization
-
Considering EJB entity beans
-
Object‑oriented database systems
-
Other options
-
-
Object/relational mapping (ORM)
-
What is ORM?
-
Generic ORM problems
-
Why ORM?
-
-
Summary
Chapter 2: Introducing and Integrating Hibernate
-
“Hello World” with Hibernate
-
Understanding the architecture
-
The core interfaces
-
Callback interfaces
-
Types
-
Extension interfaces
-
-
Basic configuration
-
Creating a SessionFactory
-
Configuration in non‑managed environments
-
Configuration in managed environments
-
-
Advanced configuration settings
-
Using XML‑based configuration
-
JNDI‑bound SessionFactory
-
Logging
-
Java Management Extensions (JMX)
-
-
Summary
Chapter 3: Mapping Persistent Classes
-
The CaveatEmptor example application
-
Analyzing the business domain
-
The domain model
-
Implementing the domain model
-
Addressing leakage of concerns
-
Transparent and automated persistence
-
Writing POJOs
-
Implementing POJO associations
-
Adding logic to accessor methods
-
-
Defining the mapping metadata
-
Metadata in XML
-
Basic property and class mappings
-
Attribute‑oriented programming
-
Manipulating metadata at runtime
-
-
Understanding object identity
-
Identity versus equality
-
Database identity with Hibernate
-
Choosing primary keys
-
-
Fine‑grained object models
-
Entity and value types
-
Using components
-
-
Mapping class inheritance
-
Table per concrete class
-
Table per class hierarchy
-
Table per subclass
-
Choosing a strategy
-
-
Introducing associations
-
Multiplicity
-
The simplest possible association
-
Making associations bidirectional
-
A parent/child relationship
-
-
Summary
Chapter 4: Working with Persistent Objects
-
The persistence lifecycle
-
Transient objects
-
Persistent objects
-
Detached objects
-
The scope of object identity
-
Outside the identity scope
-
Implementing
equals()andhashCode()
-
-
The persistence manager
-
Making an object persistent
-
Updating the state of a detached instance
-
Retrieving a persistent object
-
Updating a persistent object
-
Making a persistent object transient
-
Making a detached object transient
-
-
Using transitive persistence in Hibernate
-
Persistence by reachability
-
Cascading persistence
-
Managing auction categories
-
Distinguishing between transient and detached instances
-
-
Retrieving objects
-
Retrieval by identifier
-
Introducing HQL
-
Query by criteria
-
Query by example
-
Fetching strategies
-
Selecting a fetching strategy in mappings
-
Tuning object retrieval
-
-
Summary
Chapter 5: Transactions, Concurrency, and Caching
-
Transactions, concurrency, and caching (overview)
-
Understanding database transactions
-
JDBC and JTA transactions
-
The Hibernate Transaction API
-
Flushing the Session
-
Understanding isolation levels
-
Choosing an isolation level
-
Using pessimistic locking
-
-
Working with application transactions
-
Using managed versioning
-
Granularity of a Session
-
Other ways to implement optimistic locking
-
-
Caching theory and practice
-
Caching strategies and scopes
-
The Hibernate cache architecture
-
Caching in practice
-
-
Summary
Chapter 6: Advanced Mapping Concepts
-
Understanding the Hibernate type system
-
Built‑in mapping types
-
Using mapping types
-
-
Mapping collections of value types (Sets, bags, lists, maps)
-
Mapping entity associations
-
One‑to‑one associations
-
Many‑to‑many associations
-
-
Mapping polymorphic associations
-
Polymorphic many‑to‑one associations
-
Polymorphic collections
-
Polymorphic associations and table‑per‑concrete‑class
-
-
Summary
Chapter 7: Retrieving Objects Efficiently
-
Executing queries
-
The query interfaces
-
Binding parameters
-
Using named queries
-
-
Basic queries for objects
-
The simplest query
-
Using aliases
-
Polymorphic queries
-
Restrictions, comparisons, string matching, logical operators
-
Ordering query results
-
-
Joining associations
-
Hibernate join options
-
Fetching associations
-
Using aliases and implicit joins
-
Theta‑style joins
-
Comparing identifiers
-
-
Writing report queries
-
Projection and aggregation
-
Grouping, filtering with
having -
Optimization of report queries
-
-
Advanced query techniques
-
Dynamic queries
-
Collection filters
-
Subqueries
-
Native SQL queries
-
-
Optimizing object retrieval
-
Solving the n+1 selects problem
-
Using
iterate()queries -
Caching queries
-
-
Summary
Chapter 8: Writing Hibernate Applications
-
Designing layered applications
-
Using Hibernate in a servlet engine
-
Using Hibernate in an EJB container
-
-
Implementing application transactions
-
Approving a new auction
-
Doing it the hard way
-
Using detached persistent objects
-
Using a long session
-
Choosing an approach to transactions
-
-
Handling special kinds of data
-
Legacy schemas and composite keys
-
Audit logging
-
-
Summary
Chapter 9: Using the Toolset
-
Development processes
-
Top-down, bottom-up, middle-out (metadata-oriented), meet-in-the-middle, round-tripping
-
-
Automatic schema generation
-
Preparing mapping metadata
-
Creating and updating the schema
-
-
Generating POJO code
-
Adding meta-attributes
-
Configuring and running
hbm2java, generating finders
-
-
Using existing schemas and integration with Middlegen and XDoclet
-
Summary
People also search for Hibernate in Action 1st:
hibernate in action book
hibernate search in action
hibernate search in action pdf
king hibernate in action
hibernate in action на русском pdf
Tags: Christian Bauer, Gavin King, Hibernate


