Creating entity class using database existing table?

后端 未结 6 1430
失恋的感觉
失恋的感觉 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:53

    You can try the Telosys code generator. It can help for this kind of job.

    It allows to generate the Java (POJO) classes from any database with the basic templates and you can also create your own template (a Velocity file) to generate your DAO classes

    For more information see http://www.telosys.org

提交回复
热议问题