I have an sql script that contains DDL's for creating many number of tables, simply will execute this script for creating tables in db.
Now i want to use hibernate to perform CURD operations on that tables, but going through each table for creating POJO's will take time. So, is there any way to generate those POJO with JPA annotations using those DB tables which are already created?
Please help me.
In Eclipse you can use the Telosys Tools plugin
( http://marketplace.eclipse.org/content/telosys-tools )
It works from an existing database and generates different kinds of source files
typically Java beans with JPA annotations
See http://tools.telosys.org
and the tutorials : https://sites.google.com/site/telosystutorial/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With