hibernatetools自动代码构建工具

ant的build.xml配置如下

        
           
              
              
              
              
              
              
              
              
              
              
                  
                  
                      
                  
              
              
              
              
              
              
                   
                      
                      
                      
                      
                      
                      
                  
              
        

结合ant通过hbm文件来自动构建数据库schema和javabean等


所需要引入的jar包如下

commons-logging-1.1.1.jar

dom4j-1.6.1.jar

freemarker-2.3.19.jar

hibernate3.jar

hibernate-tools.jar

jtidy-r8-20060801.jar(这个是在生成hbm.xml时所需要的)

mysql-connector-java-5.1.21-bin.jar

slf4j-api-1.6.1.jar