Table configuration with catalog null, schema orcl, and table ORDERS did not resolve to any tables

 

 

问题:

Tableconfiguration with catalog null, schema orcl, and table ORDERS did not resolveto any tables

MyBatisGenerator finished successfully, there were warnings.

 

 

 原因:

1. jdbc:oracle:thin:@11.22.22.22:1521:orcl

oracle配置的是":"

 

2. ?characterEncoding=utf8"   />

 

3.     <tabletableName="orders"domainObjectName="Orders"

         enableInsert="true"

         enableCountByExample="false"enableUpdateByExample="false"enableDeleteByExample="false"

            enableSelectByExample="false"selectByExampleQueryId="false">

 

      table>

 

表名配置错误

 

 

 

问题: 去掉Example,没用看着也乱

 

 

 

		
		

 

 

 

 

正常配置

  





	
	
		
			
			
		
		
		
		
		
			
		


		
		
			
			
			
			
		


		
		
			
		
		
		
			
		



		
		


 

 

I.执行命令

 

java -jar C:\DingSai\Work\workspace8.5\apiportal\lib\mybatis-generator-core-1.3.2.jar -configfile C:\DingSai\Work\study\dubbo_project\edu-service-user\src\main\java\generatorConfig.xml -overwrite

 

 

 全部资源下载地址:http://download.csdn.net/detail/dingsai88/9503305

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(java)