How to use JPA Entity Generation in Industrial Dev Environnement
Hello,
I want to use IDEA to generate my Entity class for every DataBase Structure Change.
I know how to generate my Entity package by DataBase Schema, but i don't re-generate my Entity class, whithout start from scratch.
Can I, save my configuration (custom table name ? custom relation ?) ? ( <> *.reveng.xml)
Can I, just regenerate one class ? not All ?
What is the best practice ?
Thanks for Time.
PS : I come from Eclipse and Hibernate Tools.
Please sign in to leave a comment.
Hello.
Am I correct, that you have already tried Import Database Schema dialog? Please do if not yet.
Automatical re-import ofthe database structure is not supported: you anyway have to perform import manually.
If you need some more detail or something different, please elaborate.
Regards,
Alexander.
Hello,
tanks for your reply.
Yes, I generating my jpa classe with IDEA generator, And i wan't to reload my class after that my MPD change.
I'm going to use the hibernate tools maven plugin.
Regards.
Julien