1 Day NHibernate Option for Core Spring .Net

NHiberante Option Objectives

Upon completion of this course, you will be able to:

  • Compare and choose appropriate features of ADO.Net and NHibernate<
  • Configure applications using Spring and NHibernate
  • Implement Native NHibernate DAOs
  • Map inheritance hierarchies
  • Define Value Objects
  • Understand NHibernate User Types
  • Use the NHibernate Query Language (HQL) as well as the Criteria API and SQL Query APIs
  • Work with NHibernate object states
  • Work with NHibernate objects in web applications
  • Create unit and integration tests for data access code

Program

During this 1-day NHibernate course you will cover:

  • ADO.NET/NHibernate Comparison
    • Mixing ORM and ADO.NET Code
    • A Performance Comparison Overview
  • The Object/Relational mismatch
  • ORM in context
  • Benefits of O/R Mapping
  • Introduction to NHibernate
    • Mapping
    • Querying
    • Configuring a NHibernate SessionFactory
    • Spring’s NHibernateTemplate
    • Implementing Native NHibernate DAOs
  • Mapping inheritance hierarchies
    • Mapping patterns for inheritance
    • Polymorphic associations
  • Value Objects
    • Non-entities, domain messages
    • NHibernate User Types
  • NHibernate Query Language
  • Externalizing queries
  • Pagination
  • Criteria API
  • SQL Queries
  • NHibernate object states
    • Working with detached objects
    • Lazy loading
    • NHibernate objects in web applications
  • Testing NHibernate code

General Information

Approach

Through our trainings, you benefit from the wide experience and architectural expertise of our team. We bring that experience to you in a highly interactive, intensely hands-on setting.
The 1-day NHibernate course not only focuses on explaining NHibernate features and how to use them, but also on fundamental architectural issues. It's important to know how to use certain parts of a library, but it's even more important to be able to decide when to use them.

Prerequisites

We assume participants have the a good understanding of the core .NET APIs and C#, as well as a basic knowledge of general .NET concepts and APIs, such as ADO.NET transactions and ASP.NET. As we cover an object-relational mapping technology (ORM) in this course as well, we do not assume basic knowledge of ORM concepts.   After you register, a SpringSource staff member will be happy to recommend any necessary reading to ensure that you get maximum value from the training.

Contact Us

If you would like more information on this training, please contact us.