updated the DAO implementation in 'spring-ch05-v3' project so that an opened session is closed properly