Create an entity class using the existing database?


Friends i am having many tables created by DBA.And i want have entity class for each table for further querying So any one suggest how to create automatically using eclips??

If you use JPA for persistence, you can use "JPA tools" provided by Eclipse to generate java entity class from tables.

Here is the tutorial