Chapter 3. Harnessing Hibernate

     

NOTE

In this chapter:

  • Creating Persistent Objects

  • Finding Persistent Objects

  • Better Ways to Build Queries

All right, we've set up a whole bunch of infrastructure, defined an object/ relational mapping, and used it to create a matching Java class and database table. But what does that buy us? It's time to see how easy it is to work with persistent data from your Java code.



Hibernate. A Developer's Notebook
Hibernate: A Developers Notebook
ISBN: 0596006969
EAN: 2147483647
Year: 2003
Pages: 65
Authors: James Elliott

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net