Creating entity class using database existing table?

后端 未结 6 1422
失恋的感觉
失恋的感觉 2020-12-13 06:51

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

6条回答
  •  轮回少年
    2020-12-13 07:33

    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

提交回复
热议问题