Blog

Object Life-Cycle In Hibernate

Hello friends, I am again in your service with this important blog. In this blog I will explain the various state of hibernate persisting object. In provided image you will see all the states in GUI format which gives you a rough idea. You see there are three state of...

Initialize groovy list with default value

Hello friends ,In this blog we learn how to create a groovy list with default value. We can create and use withDefault() method to define the value of elements not yet in the list. We use a closure as a argument to this method which returns the default value. We can...