Harnessing Hibernate
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. W...
Autor principal: | |
---|---|
Otros Autores: | , |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol, California :
O'Reilly
2008.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627653806719 |
Tabla de Contenidos:
- Table of Contents; Preface; How to Use This Book; Font Conventions; On the Web Site; How to Contact Us; Acknowledgments; James Elliott; Ryan Fowler; Timothy O'Brien; Part I. Hibernate in a Hurry; Chapter 1. Installation and Setup; Getting an Ant Distribution; Why do I care?; How do I do that?; Check Your Java Version; What just happened?; What about...; Getting the Maven Tasks for Ant; How do I do that?; Installing the Maven Tasks for Ant; Using the HSQLDB Database Engine; Why do I care?; How do I do that?; What about...; Using Hibernate Core; How do I do that?; Setting Up a Project Hierarchy
- Why do I care?How do I do that?; A quick test; What just happened?; What's next?; Why didn't it work?; Chapter 2. Introduction to Mapping; Writing a Mapping Document; Why do I care?; How do I do that?; Generating Some Class; How do I do that?; Cooking Up a Schema; How do I do that?; What just happened?; What about...; Chapter 3. Harnessing Hibernate; Configuring Hibernate; Creating Persistent Objects; How do I do that?; What just happened?; What about...; Finding Persistent Objects; How do I do that?; What just happened?; What about...; Better Ways to Build Queries; Why do I care?
- How do I do that?What about...; Chapter 4. Collections and Associations; Mapping Collections; How do I do that?; Why didn't it work?; What about...; What just happened?; Persisting Collections; How do I do that?; What just happened?; Retrieving Collections; Using Bidirectional Associations; Working with Simpler Collections; How do I do that?; Chapter 5. Richer Associations; Eager and Lazy Associations; How do I do that?; What about...; My head hurts; Ordered Collections; How do I do that?; Augmenting Associations in Collections; How do I do that?; What just happened?; What about...
- Lifecycle AssociationsHow do I do that?; Reflexive Associations; How do I do that?; Chapter 6. Custom Value Types; Defining a User Type; How do I do that?; Defining a Persistent Enumerated Type; Using a Custom Type Mapping; How do I do that?; What about...; Working with Persistent Enumerations; How do I do that?; Not so fast!; What just happened?; Why didn't it work?; Building a Composite User Type; How do I do that?; What about...; Chapter 7. The Annotations Alternative; Hibernate Annotations; Why do I care?; How do I do that?; Why do I have to?; Annotating Model Objects; How do I do that?
- Annotating TrackAnnotating Album; Does it work?; An Alternate Approach; What now?; Chapter 8. Criteria Queries; Using Simple Criteria; How do I do that?; What about...; Compounding Criteria; Projection and Aggregation with Criteria; How do I do that?; Applying Criteria to Associations; How do I do that?; What just happened?; Querying by Example; How do I do that?; Property-Oriented Criteria Factories; What about...; Chapter 9. A Look at HQL; Writing HQL Queries; How do I do that?; What just happened?; What about...; Selecting Properties and Pieces; How do I do that?; What about...; Sorting
- How do I do that?