I am having tables created by a DBA. And I want to have
entity classes for each table for further querying. Can any one suggest how to automatically create the entity classe
You could have a look at Spring Roo. It has database reverse engineering. There exists an eclipse integration, so that you can do that from within eclipse.