Saturday 27 December 2014

Hibernate Tutorial

      Hibernate
      What is ORM?
      First Hibernate Application
      Hibernate hbm2ddl.auto property
      Set table name for entity in Hibernate
      Set Column name for entity in Hibernate
      Disable mapping for a column
      Make the field as transient to not persist
      @Transient : disable persisting data
      Temporal : Handling date in Hibernate
      Hibernate : Lob : To persist large text
      Hibernate : Retrieving data from database
      GeneratedValue : GenerationType : Generating keys automatically
      Embeddable : Embedding value object into entity object
      Embedded : Embedding value object into entity object
      Change column names of embedded object
      @EmbeddedId : Represent embedded object as primary key
      ElementCollection : Save collection of objects
      JoinTable : To tweak collection object saved
      CollectionId : Adding primary key for collection table
      Hibernate FetchType : Lazy Vs Eager
      Hibernate : One-to-One mapping
      Hibernate : One to Many Mapping
      Hibernate : many to one mapping
      Hibernate : Many-To-Many mapping
      Inheritance in hibernate
      Tweaking Hibernate inheritance
      Inhertiance: Table per class strategy
      Inheritance : InheritanceType.JOINED
      Hibernate : CRUD Operations
      Hibernate : Delete data from database
      Hibernate : Update data
      HQL
      HQL : from clause
      HQL : From with where clause
      HQL : select clause
      HQL : Select few columns
      HQL: pagination
      HQL : Parameter binding
      HQL: Positional parameter binding
      HQL : Named parameter binding
      HQL : NamedQuery : Named Queries
      HQL : NamedQueries : Write multiple named queries for entity
      HQL : NamedNativeQuery : Named Native queries
      HQL : NamedNativeQueries : Write multiple native queries for entity
      Hibernate criteria API
      Hibernate HikariCP example
      HSQLDB & Hibernate Example


No comments:

Post a Comment