How to create HJB POJO classes from DB tables

I have a sql script that contains DDL to create a large number of tables, just execute this script to create tables in db.

Now I want to use hibernate to perform the CURD operations in these tables, but for each table it will take time to create the POJO. So, is there a way to generate these POJOs with JPA annotations using those DB tables that are already created?

Please help me.

+5
source share
2 answers

http://www.eclipse.org/webtools/dali/ can generate objects from a database if you use the eclipse IDE

+1
source

All Articles