Added getById method to hibernate dao