Auto generate data schema from JPA annotated entity classes

后端 未结 9 1547
滥情空心
滥情空心 2020-12-12 17:43

I\'m using JPA (Hibernate\'s implementation) to annotate entity classes to persist to a relational database (MySQL or SQL Server). Is there an easy way to auto generate the

9条回答
  •  心在旅途
    2020-12-12 18:15

    You can use maven plugin to achieve this.

           
                
                org.codehaus.mojo
                hibernate3-maven-plugin
                3.0
                
                    
                        
                            
                                                                           
                           
    
                                             
                        
                    
                
            
    

提交回复
热议问题