db populating using hibernate