Beginning Hibernate [electronic resource] /
Linwood, Jeff.author.
Minter, Dave.author.
Beginning Hibernate, Second Edition is ideal if you’re experienced in Java with databases (the traditional, or “connected,” approach), but new to open-source, lightweight Hibernate—the de facto object-relational mapping and database-oriented application development framework. This book packs in information about the release of the Hibernate 3.5 persistence layer and provides a clear introduction to the current standard for object-relational persistence in Java. And since the book keeps its focus on Hibernate without wasting time on nonessential third-party tools, you’ll be able to immediately start building transaction-based engines and applications. Experienced authors Dave Minter and Jeff Linwood provide more in-depth examples than any other book for Hibernate beginners. The authors also present material in a lively, example-based manner—not a dry, theoretical, hard-to-read fashion.
""Title Page ""; ""Copyright Page ""; ""Contents at a Glance""; ""Table of Contents ""; ""About the Authors""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Introduction""; ""Who This Book Is For""; ""How This Book Is Structured""; ""Downloading the Code""; ""Contacting the Authors""; ""CHAPTER 1 An Introduction to Hibernate 3.5 ""; ""Plain Old Java Objects (POJOs)""; ""Origins of Hibernate and Object-Relational Mapping""; ""Hibernate As a Persistence Solution""; ""A Hibernate Hello World Example""; ""Mappings""; ""Summary""; ""CHAPTER 2 Integrating and Configuring Hibernate ""
""The Steps Needed to Integrate and Configure Hibernate""""Understanding Where Hibernate Fits in Your Java Application""; ""Deploying Hibernate""; ""Required Libraries for Running Hibernate 3.5""; ""JMX and Hibernate""; ""Hibernate Configuration""; ""Hibernate Properties""; ""XML Configuration""; ""Annotated Classes""; ""Naming Strategy""; ""Using a Container-Managed Data Source""; ""The Session Factory""; ""SQL Dialects""; ""Summary""; ""CHAPTER 3 Building a Simple Application ""; ""Installing the Tools""; ""Hibernate and Hibernate Tools""; ""Simple Logging Facade for Java (SLF4J) 1.5.11""
""HSQLDB 2.0.0""""Ant 1.8.0""; ""The Ant Tasks""; ""Creating a Hibernate Configuration File""; ""Running the Message Example""; ""Persisting Multiple Objects""; ""Creating Persistence Classes""; ""Creating the Object Mappings""; ""Creating the Tables""; ""Sessions""; ""The Session and Related Objects""; ""Using the Session""; ""The Example Client""; ""Summary""; ""CHAPTER 4 The Persistence Life Cycle ""; ""Introduction to the Life Cycle""; ""Entities, Classes, and Names""; ""Identifiers""; ""Entities and Associations""; ""Saving Entities""; ""Object Equality and Identity""
""Loading Entities""""Refreshing Entities""; ""Updating Entities""; ""Deleting Entities""; ""Cascading Operations""; ""Lazy Loading, Proxies, and Collection Wrappers""; ""Querying Objects""; ""Summary""; ""CHAPTER 5 An Overview of Mapping ""; ""Why Mapping Cannot Be Automated""; ""Primary Keys""; ""Lazy Loading""; ""Associations""; ""The One-to-One Association""; ""The One-to-Many and Many-to-One Association""; ""The Many-to-Many Association""; ""Applying Mappings to Associations""; ""Other Information Represented in Mappings""; ""Specification of (Database) Column Types and Sizes""
""The Mapping of Inheritance Relationships to the Database""""Primary Key""; ""The Use of SQL Formulaâ€?Based Properties""; ""Mandatory and Unique Constraints""; ""Cascading of Operations""; ""Summary""; ""CHAPTER 6 Mapping with Annotations ""; ""Creating Hibernate Mappings with Annotations""; ""Cons of Annotations""; ""Pros of Annotations""; ""Choosing Which to Use""; ""Using Annotations in Your Application""; ""JPA 2 Persistence Annotations""; ""Entity Beans with @Entity""; ""Primary Keys with @Id and @GeneratedValue""; ""Generating Primary Key Values with @SequenceGenerator""
""Generating Primary Key Values with @TableGenerator""
Includes index.
Beginning Hibernate, Second Edition is ideal if you’re experienced in Java with databases (the traditional, or “connected,” approach), but new to open-source, lightweight Hibernate—the de facto object-relational mapping and database-oriented application development framework. This book packs in information about the release of the Hibernate 3.5 persistence layer and provides a clear introduction to the current standard for object-relational persistence in Java. And since the book keeps its focus on Hibernate without wasting time on nonessential third-party tools, you’ll be able to immediately start building transaction-based engines and applications. Experienced authors Dave Minter and Jeff Linwood provide more in-depth examples than any other book for Hibernate beginners. The authors also present material in a lively, example-based manner—not a dry, theoretical, hard-to-read fashion.
Hibernate (Electronic resource)
Java (Computer program language).
Software engineering.
Java.
Software Engineering/Programming and Operating Systems.