1)First check Database tables are Ready in Database.
2)Take Java Project in Eclipse.
3)Right Click on the java project-->New-->Other-->
select Hibernate Console Configuration-->Next
click Finish.
4)Right click on the project-->New-->Other-->
-->Next-->
---->Next--->
then u find following,
Select Hibernate code generation configuration
select other tab Exporters,
finally click Apply and Run
Then observe our Required Entities are Ready in src folder of project.