java - Auto generate data schema from JPA annotated entity classes -


i'm using jpa (hibernate's implementation) annotate entity classes persist relational database (mysql or sql server). there easy way auto generate database schema (table creation scripts) annotated classes?

i'm still in prototyping phase , anticipate frequent schema changes. able specify , change data model annotated code. grails similar in generates database domain classes.

you can use hbm2ddl hibernate. docs here.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -