逆向工程-mybatis-generator

链接:https://pan.baidu.com/s/1NNg8z6YcF7SmuPQHs5zjaA     密码:1c6y


mybatis-generator 是为了提高开发效率的工具,通过生成pojo、dao、Mapper


generatorConfig.xml  配置


  PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
  "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">


    
    
        
            
            
        

        
                    connectionURL="jdbc:mysql://127.0.0.1:3306/7500km_com?allowMultiQueries=true" userId="root"
            password="123456">
        

        
        

        
        
            
        


        
                    targetProject=".\src">
            
            
            
            
        

       
                    targetProject=".\src">
            
            
        

        
                    targetPackage="org.wcy.gen.mapper"
            targetProject=".\src">
            
            
        

        
        
        

                enableDeleteByExample="false" enableUpdateByExample="false"
                enableSelectByExample="false" selectByExampleQueryId="false">

                
        
        
    


运行后,控制台打印

逆向工程-mybatis-generator_第1张图片


刷新下项目

逆向工程-mybatis-generator_第2张图片
















你可能感兴趣的:(逆向工程,工具)