What is meant by Method chaining?
Method chaining is a programming technique that is supported by many hibernate interfaces. This is less readable when compared to actual java code. Look how a SessionFactory is created when we use method chaining. For Example: SessionFactory sessions = new Configuration().addResource("myinstance/MyConfig.hbm.xml").setProperties(System.getProperties()).buildSessionFactory();