Beginning Hibernate [electronic resource] /
Minter, Dave.author.
Linwood, Jeff.author.
Ottinger, Joseph.author.
Beginning Hibernate, Third Edition is ideal if you're experienced in Java with databases (the traditional, or "connected," approach), but new to open-source, lightweight Hibernate, a leading object-relational mapping and database-oriented application development framework. This book packs in information about the release of the Hibernate 4.x 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 Joseph Ottinger with 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.
""Contents at a Glance""; ""Contents""; ""About the Authors""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Introduction""; ""Chapter 1: An Introduction to Hibernate 4.2""; ""Plain Old Java Objects (POJOs)""; ""Origins of Hibernate and Object/Relational Mapping""; ""Hibernate as a Persistence Solution""; ""A Hibernate Hello World Example""; ""Mappings""; ""Persisting an Object""; ""Summary""; ""Chapter 2: Integrating and Configuring Hibernate""; ""The Steps Needed to Integrate and Configure Hibernate""; ""Understanding Where Hibernate Fits into Your Java Application""
""Deploying Hibernate""""Installing Maven""; ""Connection Pooling""; ""Summary""; ""Chapter 3: Building a Simple Application""; ""A Simple Application""; ""A First Attempt""; ""Writing Data""; ""Reading Data""; ""Updating Data""; ""Persistence Contexts""; ""Removing Data""; ""A Note on Managing Sessions""; ""A Note on Transactions""; ""Writing Our Sample Application""; ""Add a Ranking""; ""Update a Ranking""; ""Remove a Ranking""; ""Find Average Ranking for a Subjectâ€?s Skill""; ""Find All Rankings for a Subject""; ""Find the Highest Ranked Subject for a Skill""; ""Summary""
""Chapter 4: The Persistence Life Cycle""""Introducing the Life Cycle""; ""Entities, Classes, and Names""; ""Identifiers""; ""Entities and Associations""; ""Saving Entities""; ""Object Equality and Identity""; ""Loading Entities""; ""Merging 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 Easily 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 Supported Features""; ""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""; ""Summary""; ""Chapter 6: Mapping with Annotations""; ""Creating Hibernate Mappings with Annotations""; ""The Cons of Annotations""; ""The Pros of Annotations""; ""Choosing Which to Use""
""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""; ""Compound Primary Keys with @Id, @IdClass, or @EmbeddedId""; ""Database Table Mapping with @Table and @SecondaryTable""; ""Persisting Basic Types with @Basic""; ""Omitting Persistence with @Transient""; ""Mapping Properties and Fields with @Column""; ""Modeling Entity Relationships""; ""Mapping an Embedded (Component) One-to-One Association""
""Mapping a Conventional One-to-One Association""
Includes index.
Beginning Hibernate, Third Edition is ideal if you're experienced in Java with databases (the traditional, or "connected," approach), but new to open-source, lightweight Hibernate, a leading object-relational mapping and database-oriented application development framework. This book packs in information about the release of the Hibernate 4.x 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 Joseph Ottinger with 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.
Application software.
Java.
Software Engineering/Programming and Operating Systems.
Computer Appl. in Administrative Data Processing.