I have maven project and I want to generate DDL from existing entities.
How can I do that?
Is there any maven plugin that I can generate the DDL?
I
If you are using Hibernate as your JPA provider, check http://users.mafr.de/~matthias/articles/generating-ddl-scripts.html.
Possible duplicate of generate DDL from JPA annotations, although the question there is phrased slightly differently?