title: how to load data from database in java through hibernate
body: <p>I am writing a java project. and I use hibernate as ORM . now I build and filled my database using hibernate. the question is how can I load records from database and make objects from them?</p>