“ from none others than the lead developer and the lead documenter, this book is a great introduction and reference documentation to using Hibernate. An eBook copy of the previous edition of this book is included at no additional cost. Java Persistence with Hibernate, Second Edition explores Hibernate by. Contribute to 97rajeev/All development by creating an account on GitHub.
|Language:||English, Portuguese, German|
|Genre:||Politics & Laws|
|ePub File Size:||27.41 MB|
|PDF File Size:||15.51 MB|
|Distribution:||Free* [*Registration needed]|
Java Persistence with Hibernate [Christian Bauer, Gavin King, Gary Gregory] on derscontcyptuhors.gq *FREE* shipping on qualifying offers. Summary Java Persistence. Summary Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples.
Analyzing the business domain 3. The CaveatEmptor domain model 3. Implementing the domain model 3. Addressing leakage of concerns 3. Transparent and automated persistence 3.
Writing persistence-capable classes 3. Implementing POJO associations 3. Domain model metadata 3. Annotation-based metadata 3.
Applying Bean Validation rules 3. Externalizing metadata with XML files 3. Accessing metadata at runtime 3. Summary Part 2: Mapping strategies 4. Mapping persistent classes 4. Understanding entities and value types 4. Fine-grained domain models 4.
Defining application concepts 4. Distinguishing entities and value types 4. Mapping entities with identity 4. Understanding Java identity and equality 4.
A first entity class and mapping 4. Selecting a primary key 4. Configuring key generators 4. Identifier generator strategies 4. Entity mapping options 4. Controlling names 4. Dynamic SQL generation 4. Making an entity immutable 4. Mapping an entity to a subselect 4.
Summary 5. Mapping value types 5. Mapping basic properties 5. Overriding basic property defaults 5. Customizing property access 5. Using derived properties 5. Transforming column values 5.
Generated and default property values 5. Temporal properties 5. Mapping enumerations 5.
Mapping embeddable components 5. The database schema 5.
Making classes embeddable 5. Overriding embedded attributes 5. Mapping nested embedded components 5. Mapping Java and SQL types with converters 5. Built-in types 5. Creating custom JPA converters 5. Extending Hibernate with UserTypes 5. Summary 6. Mapping inheritance 6. Table per concrete class with implicit polymorphism 6. Table per concrete class with unions 6. Table per class hierarchy 6. Table per subclass with joins 6.
Mixing inheritance strategies 6. Inheritance of embeddable classes 6.
Valley Bookseller - the bookstore with great reads!
Choosing a strategy 6. Polymorphic associations 6. Polymorphic many-to-one associations 6. Polymorphic collections 6. Summary 7. Mapping collections and entity associations 7. Sets, bags, lists, and maps of value types 7. The database schema 7. Creating and mapping a collection property 7. Selecting a collection interface 7. Mapping a set 7. Mapping an identifier bag 7. Mapping a list 7. Mapping a map 7.
Sorted and ordered collections 7. Collections of components 7. Equality of component instances 7. Set of components 7.
Bag of components 7. Map of component values 7. Components as map keys 7. Collection in an embeddable component 7.
Mapping entity associations 7. The simplest possible association 7. Making it bidirectional 7.
Cascading state 7. Summary 8. Advanced entity association mappings 8. One-to-one associations 8. Sharing a primary key 8. The foreign primary key generator 8. Using a foreign key join column 8. Using a join table 8. One-to-many associations 8. Considering one-to-many bags 8. Uni-directional and bidirectional list mappings 8.
Optional one-to-many with a join table 8. One-to-many association in an embeddable class 8. Many-to-many and ternary associations 8. Uni- and bidirectional many-to-many 8. Many-to-many with an intermediate entity 8. Ternary associations with components 8. Entity associations with Maps 8. One-to-many with property key 8. Summary 9. Complex and legacy schemas 9.
Improving the database schema 9. Adding auxiliary database objects 9.
SQL constraints 9. Creating indexes 9.
Handling legacy keys 9. Mapping a natural primary key 9. Mapping a composite primary key 9. Foreign keys in composite primary keys 9. Foreign keys to composite primary keys 9.
Foreign key referencing non-primary keys 9. Mapping properties to secondary tables 9. Summary Part 3: Transactional data processing Managing data The persistence life cycle Entity instance states The persistence context The EntityManager interface The canonical unit of work Making data persistent Retrieving and modifying persistent data Getting a reference Making data transient Refreshing data Replicating data Caching in the persistence context Flushing the persistence context Working with detached state The identity of detached instances Implementing equality methods Detaching entity instances Merging entity instances Summary Transactions and concurrency Transaction essentials ACID attributes Database and system transactions Programmatic transactions with JTA Handling exceptions Declarative transaction demarcation Controlling concurrent access Understanding database-level concurrency Optimistic concurrency control Explicit pessimistic locking Avoiding deadlocks Non-transactional data access Reading data in auto-commit mode Queueing modifications Fetch plans, strategies, and profiles Lazy and eager loading Understanding entity proxies Lazy persistent collections Lazy loading with interception Eager loading of associations and collections Selecting a fetch strategy The Cartesian product problem Prefetching data in batches Prefetching collections with subselects Dynamic eager fetching Using fetch profiles Declaring Hibernate fetch profiles Working with entity graphs Filtering data Cascading state transitions Available cascading options Transitive detachment and merging Cascading refresh Cascading replication Enabling global transitive persistence Listening to and intercepting events JPA event listeners and callbacks Implementing Hibernate interceptors The core event system Auditing and versioning with Hibernate Envers Enabling audit logging Creating an audit trail Finding revisions Accessing historical data Dynamic data filters Defining dynamic filters Applying the filter Enabling the filter Filtering collection access Summary Part 4: Writing queries Creating and executing queries Creating queries The JPA query interfaces Typed query results Preparing queries Protecting against SQL injection attacks Binding named parameters Using positional parameters Paging through large result sets Executing queries Listing all results Getting a single result Scrolling with database cursors Iterating through a result Naming and externalizing queries Calling a named query Defining queries in XML metadata Defining queries with annotations Defining named queries programmatically Query hints Setting a timeout Setting the flush mode Setting read-only mode Setting a fetch size Setting an SQL comment Named query hints The query languages Selection Assigning aliases and query roots Polymorphic queries Restriction Comparison expressions Expressions with collections Calling functions Ordering query results Projection Projection of entities and scalar values Utilizing dynamic instantiation Getting distinct results Calling functions in projections Aggregation functions Grouping Joins Joins with SQL Join options in JPA Implicit association joins Explicit joins Dynamic fetching with joins Theta-style joins Comparing identifiers Subselects Correlated and uncorrelated nesting Quantification Advanced query options Transforming query results Returning list of lists Returning a list of maps Mapping aliases to bean properties Writing a ResultTransformer Filtering collections The Hibernate criteria query API Selection and ordering Projection and aggregation Example queries Customizing SQL Falling back to JDBC Mapping SQL query results About the Book Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples.
About the Authors Christian Bauer is a member of the Hibernate developer team and a trainer and consultant. Getting started with ORM Chapter 1.
Starting a project Chapter 3. Domain models and metadata Part 2.
Mapping strategies Chapter 4. Mapping persistent classes Chapter 5. Mapping value types Chapter 6. Mapping inheritance Chapter 7. Mapping collections and entity associations Chapter 8. Advanced entity association mappings Chapter 9.
Complex and legacy schemas Part 3. Transactional data processing Chapter Managing data Chapter Transactions and concurrency Chapter Fetch plans, strategies, and profiles Chapter Filtering data Part 4. Writing queries Chapter Creating and executing queries Chapter Set of components 7.
The problem of granularity 1. Calling a named query High-Performance Java Persistence A high-performance data access layer must resonate with the underlying database system. Returning a result set About the book Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. He has founded two technology start-ups: SmartPants Media, Inc.
- BLOOD RELATION QUESTIONS WITH ANSWERS PDF IN HINDI
- DE PRAESTIGIIS DAEMONUM ENGLISH EBOOK DOWNLOAD
- JUNIT IN ACTION EBOOK
- HARRY DRESDEN EBOOK
- CNC PROGRAMMING EBOOK
- IL CERVELLO ANARCHICO EBOOK
- UPTU 2015 QUESTION PAPER WITH SOLUTION PDF
- TOGETHER WITH SOCIAL SCIENCE CLASS 10 PDF
- RATIB AL ATHOS PDF
- CADENA CRITICA ELIYAHU M.GOLDRATT PDF