Skip to content

Harnessing Hibernate Step-By-step Guide to Java Persistence

Best in textbook rentals since 2012!

ISBN-10: 0596517726

ISBN-13: 9780596517724

Edition: 2008 (Revised)

Authors: James Elliott, Timothy M. O'Brien, Ryan Fowler

List price: $39.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

This guide is an ideal introduction to Hibernate, the framework that lets Java developers work with information from a relational database easily and efficiently. Databases are a very different world than Java objects, and they often involve people with different skills and specializations. With Hibernate, bridging these two worlds is significantly easier, and with this book, you can get up to speed with Hibernate quickly. Rather than present you with another tedious reference, Harnessing Hibernate lets you explore the system, from download and configuration through a series of projects that demonstrate how to accomplish a variety of practical goals. The new edition of this concise guide…    
Customers also bought

Book details

List price: $39.99
Copyright year: 2008
Publisher: O'Reilly Media, Incorporated
Publication date: 5/13/2008
Binding: Paperback
Pages: 382
Size: 7.00" wide x 9.19" long x 0.89" tall
Weight: 1.298
Language: English

Ryan Fowler is a software engineer at Berbee in Madison, WI. He programmed Basic on Apple II machines for a while in elementary school at St. Stephen School in Grand Rapids, MI. He returned to coding in the computer science department at Alma College in Alma, MI while earning his bachelor's degree. Ryan skis, sails and rounds life out with some guitar playing when there's no snow or wind.

Preface
Hibernate in a Hurry
Installation and Setup
Getting an Ant Distribution
Check Your Java Version
Getting the Maven Tasks for Ant
Installing the Maven Tasks for Ant
Using the HSQLDB Database Engine
Using Hibernate Core
Setting Up a Project Hierarchy
Introduction to Mapping
Writing a Mapping Document
Generating Some Class
Cooking Up a Schema
Harnessing Hibernate
Configuring Hibernate
Creating Persistent Objects
Finding Persistent Objects
Better Ways to Build Queries
Collections and Associations
Mapping Collections
Persisting Collections
Retrieving Collections
Using Bidirectional Associations
Working with Simpler Collections
Richer Associations
Eager and Lazy Associations
Ordered Collections
Augmenting Associations in Collections
Lifecycle Associations
Reflexive Associations
Custom Value Types
Defining a User Type
Defining a Persistent Enumerated Type
Using a Custom Type Mapping
Working with Persistent Enumerations
Building a Composite User Type
The Annotations Alternative
Hibernate Annotations
Annotating Model Objects
An Alternate Approach
Criteria Queries
Using Simple Criteria
Compounding Criteria
Projection and Aggregation with Criteria
Applying Criteria to Associations
Querying by Example
Property-Oriented Criteria Factories
A Look at HQL
Writing HQL Queries
Selecting Properties and Pieces
Sorting
Working with Aggregate Values
Writing Native SQL Queries
Playing Nice with Others
Connecting Hibernate to MySQL
Setting Up a MySQL Database
Connecting to MySQL
Trying It Out
Looking at the Data
Hibernate and Eclipse: Really Using the Hibernate Tools
Installing the Hibernate Tools in Eclipse
Creating a Hibernate Console Configuration
More Editing Support
The Hibernate Console Perspective
Code Generation
Mapping Diagrams
Maven in More Depth
What Is Maven?
Installing Maven
Building, Testing, and Running a Project
Generating IDE Project Files using Maven
Generating Reports with Maven
A Maven Project Object Model
The Maven Build Lifecycle
Using the Maven Hibernate3 Plug-in
Becoming a Maven Maven
Put a Spring in your Step: Hibernate with Spring
What Is Spring?
Writing a Data Access Object
Creating an Application Context
Putting It All Together
The Finishing Touch: Stripes with Spring and Hibernate
Earn Your Stripes
Prepare Tomcat
Create the Web Application
Add Stripes
Dealing with Associations
Hibernate Types
The Criteria API
Hibernate SQL Dialects
Spring Transaction Support
Where to Go Next
Index