Product Details
Harnessing Hibernate

Harnessing Hibernate
By James Elliott PH.D., Ryan Fowler, Tim O'Brien

List Price: $39.99
Price: $26.39 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

44 new or used available from $11.85

Average customer review:

Product Description

Harnessing Hibernate is an ideal introduction to the popular 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 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 walks you through Hibernate's primary features, which include mapping from Java classes to database tables, and from Java data types to SQL data types. You will also learn about Hibernate's data query and retrieval facilities, and much more. By reading and following along with the examples, you can get your own Hibernate environment set up quickly and start using it for real-world tasks right away. Harnessing Hibernate teaches you how to: Perform Object/Relational mapping Work with persistent data from Java code Work with groups and relationships between objects Extend Hibernate's rich type support for your own needs Simplify query creation using criteria and examples Use the Hibernate Query Language (HQL) and understand how it differs from SQL Use Hibernate in conjunction with Spring Use Hibernate in conjunction with other packages, such as the Stripes web framework and the Eclipse IDE

Once you're past the first few chapters, you can jump to topics that you find particularly interesting or relevant.All background material and explanations of how Hibernate works and why is in the service of a focused task. Source code can be downloaded from the book's website. If using SQL is an uncomfortable chore, Harnessing Hibernate offers you an effective and trouble-free method for working with the information you store in your applications.


Product Details

  • Amazon Sales Rank: #98491 in Books
  • Published on: 2008-04-01
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 363 pages

Features


Editorial Reviews

About the Author

Elliott is a senior software engineer at Berbee, with over 15 years of professional experience as a systems developer.


TIM O'BRIEN received the 1979 National Book Award in fictionTIM O'BRIEN received the 1979 National Book Award in fiction for Going After Cacciato. His other works include the accla for Going After Cacciato. His other works include the acclaimed novels The Things They Carried and July, July. In the Limed novels The Things They Carried and July, July. In the Lake of the Woods received the James Fenimore Cooper Prize frake of the Woods received the James Fenimore Cooper Prize from the Society of American Historians and was named the bestom the Society of American Historians and was named the best novel of 1994 by Time. O'Brien lives in Austin, Texas. novel of 1994 by Time. O'Brien lives in Austin, Texas.


Customer Reviews

Expected more2
The chapter about eclipse and hibernate was somewhat useful, the rest was some sort of tedious tribute to ant, maven and open software in general. The main argument seems to avoid 'complex joins', why would you work with databases at all if you think joins between two tables is rocket science? What will you do if hibernate fails and you don't understand whats going on beneath? How can you design a good database if you find these things to complex?

I bought the book to learn HIBERNATE, not ant, not maven etc. The examples are poor, i.e it shows how to do a one-to-many relationship, what about other relationships?

To me, the hibernate documentation was much more useful, seriously.

Beginner's Hibernate4
Nice step-by-step guide for building a web application that makes use of Hibernate. This fills in an important gap left by the official Hibernate documentation. However, a consequence of this approach is that much of the book ends up being devoted to explaining how to set up the chosen tools and frameworks (see table of contents). If you are instead looking for more in-depth information on topics such as session and object lifecycles, complicated mappings or performance, you'll find more information in the official Hibernate documentation (or in the corresponding section in the Spring documentation). This book really ought to have a less cute, but more descriptive title.

Poorly Organized and Edited2
The amount of useful information in the book is much shorter than the book itself. The examples and bullet point explanations are good and is where you will get most of the value from the book. Those can easily fit into a book a quarter of the size. The rest are just useless asides that get in the way. For example, the author(s) try to crack jokes about rich friends in the chapter about relations (get it, friends and relations? Not funny and useless). The book would have been more valuable if it was condensed and better organized. Furthermore, this book doesn't talk nearly in depth enough about Hibernate. It wastes almost half of the pages on non-Hibernate related information such as Maven and Spring. If your project deviates even slightly from the prescribed path, you'll be lost because the book doesn't give you enough of a foundation to find your own way.

If you really want to learn Hibernate, get the Gavin King book. King is one of the founders of the Hibernate project and his book reflects his depth of knowledge.