Mar 11th, 2012, 10:41 AM
Spring Roo and database reverse engineering
I am actively looking for a tool that could generate JPA entities from a live database. I also need to be able to customize the way join tables are used by my JPA entities.
I've tried Spring roo and it generates empty entities (no members are present in the java files) for me as well as .aj files. Is there a way to get proper standard entity classes from Spring roo? If so how?
Mar 11th, 2012, 07:57 PM
Have a look at the section on removing Roo in the docs - basically you can just fold in the stuff in the .aj files as needed I think.
Mar 13th, 2012, 04:08 PM
Thanks matt. I'll try that. It is a pity it is not possible to perform this task from the command line...
Mar 13th, 2012, 04:10 PM
I think there was an open enhancement request for it - if you want to vote on it
Mar 13th, 2012, 04:15 PM
I have now voted up for the enhancement.
Tags for this Thread