Beginning Hibernate
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...
Autores principales: | , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress
2014.
|
Edición: | 3rd ed. 2014. |
Colección: | Expert's voice in Java.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629379806719 |
Tabla de Contenidos:
- ""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 Subject�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 Formula�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""