Monday, December 31, 2012

General flow of Hibernate communication with RDBMS?

  • Load the Hibernate configuration file and create configuration object. It will automatically load all hbm mapping files
  • Create session factory from configuration object
  • Get one session from this session factory
  • Create HQL Query
  • Execute query to get list containing Java objects
Reference:- http://alltechinone.in

No comments:

Post a Comment