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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -