Hybernate

Course:Hibernate

Hibernate course detail
  • Hibernate Basics/Quick start(basic setup and an quick start application)
  • Hibernate Types
  • Understanding the primary key mapping.
  • Hibernate Object - relational Mapping(Advanced java types mapping)
  • Understand how to correctly implement equals and hashCode in Hibernate
  • Associations and collections mapping
  • ORM strategies(table per class hierarchy,table per subclass,table per concrete class)
  • Object lifecycle and states
  • Transaction handling(versioning,Isolation level,demarcating transactions in a managed Java EE Environment,Lock)
  • Querying and fetching data(HQL,Criteria,fetching types)
  • Hybernate query
  • Application design
  • Hibernate toolset and working with legacy schema
  • Hibernate tuning and best practices.
  • Any Open topics

Hibernate

Hibernate detail
Hibernate ORM (Hibernate in short) is an object-relational mapping library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions. Hibernate is a free software that is distributed under the GNU Lesser General Public License. Hibernate's primary feature is mapping from Java classes to database tables (and from Java data types to SQL data types). Hibernate also provides data query and retrieval facilities. It generates SQL calls and relieves the developer from manual result set handling and object conversion. Applications using Hibernate are portable to supported SQL databases with little performance overhead Mapping Java classes to database tables is accomplished through the configuration of an XML file or by using Java Annotations. When using an XML file, Hibernate can generate skeleton source code for the persistence classes. This is unnecessary when annotations are used. Hibernate can use the XML file or the annotations to maintain the database schema. Facilities to arrange one-to-many and many-to-many relationships between classes are provided. In addition to managing associations between objects, Hibernate can also manage reflexive associations where an object has a one-to-many relationship with other instances of its own type. Hibernate supports the mapping of custom value types. This makes the following scenarios possible: Overriding the default SQL type that Hibernate chooses when mapping a column to a property. Mapping Java Enum to columns as if they were regular properties. Mapping a single property to multiple columns. Definition: The Objects of front-end application follows OOPs principles and the objects of back-end follows normalization principles, both principles are not one and same. This problem is called "impedance Miss-match". Mapping is a way of resolving the "impedance miss-match" problem.