This Extreme Learning expert-led course will teach you how to use Hibernate as a persistence framework for building the ORM layer of a Java technology-based object-oriented application. It covers the deep dive principles of object-relational mappings and their implementation in Hibernate, one of the more popular ORM frameworks in the marketplace. Once they complete the course, students will be able to build Java technology applications that require the management of persistent information, leveraging Hibernate to provide the bridge between the object-oriented representation used at application-level and the relational representation required by many target relational databases. Oracle and MySQL use cases are covered.
About Extreme Learning: Get taught directly by the experts and interact with peers in an engaging informal environment. These are intensive, deep dive training sessions designed for advanced IT professionals which incorporate expert-led presentations and hands-on labs.
Please contact a Sun Training Representative to order this product.
Languages
English
Back to top
Who Can Benefit
Experienced Java technology developers interested in building robust integration tiers to databases.
Back to top
Prerequisites
- Extensive Java programming experience.
- Familiarity with Object-Oriented concepts and application
- Experience with SQL
- Experience with Java frameworks
Back to top
Skills Gained
- Build Java technology applications that require the management of persistent information
- Leverage Hibernate to provide the bridge between the object-oriented representation used at application-level
and the relational representation required by many target relational databases
Back to top
Course Content
Module 1 - Introduction
- OO Model vs. Relational Model
- Individual Classes and Individual Tables
- Relationships in OO Model
- Relationships in Relational Model
- Navigating in OO Model
- Querying in Relational Model
- Hibernate as a framework for persistence
- Configuration Files
- Hibernate Session and Entity Manager
- Setting up a Hibernate project
Module 2 - Mapping Objects and their Properties
- Object Identity vs. Database Identity
- Entities vs. Value types
- Id properties vs. Natural Keys
- Mapping ids
- Mapping properties
- Mapping components (value types)
Module 3 - Mapping Associations
- One-To-One
- One-To-Many
- Many-To-Many
- Navigating relationships
- Transitive persistence, cascading deletes
- Mapping collections of value types
- Mapping lists of value types
- Mapping maps of value types
Module 4 - Criteria Queries
- Basic queries
- Simple queries
- Restrictions and transformations
- Projection
- Aggregation functions
- Query by example
- Filters
Module 5 - Query and HQL
- Basic queries
- Projection
- Aggregation functions
Module 6 - Persistent Entity Life cycle
- Persistent vs. detached vs. transient entities
- Cascading
- Transactions and concurrency
- Optimistic vs. pessimistic locking
- Entity version
- Isolation levels
- Object Identity
Module 7 - Optimization
- Built-in Optimizations
- Fetch Strategies
- Caching and the Query Cache
- Collections
- Monitoring Performance
Module 8 - Advanced Topics
- Conversations
- Testing
- Best Practices
Back to top
Browse Other Course Topic Areas
|