close hibernate auto put data into the database