SpringBoot引入MyBatisGenerator

1.引入插件


				org.mybatis.generator
				mybatis-generator-maven-plugin
				1.3.5
				
					
					src/main/resources/mybatis-generator/generatorConfig.xml
					true
					true
				
				
					
						mysql
						mysql-connector-java
						8.0.33
					
				
			

2.添加generator.xml并修改






    
    
        
        
            
            
        

        
        
        

        
        
            
            
        
        
        
            
        
        
        
            
        
        
        
            
            
        

3.生成文件

双击 

SpringBoot引入MyBatisGenerator_第1张图片

 

你可能感兴趣的:(Java_ee,spring,boot,后端,java)