Table configuration with catalog null, schema , and table did not resolve to an Mybatis generator
程序员文章站
2022-03-03 21:40:31
...
问题:
使用Mybatis generator连接oracle去生成代码的时候,报错:Table configuration with catalog null, schema , and table did not resolve to any tables
可能原因之一是:
Power Designer 里导出的sql中,带上了双引号。如;
create table "fire_alarm" ( "id" NUMBER(6) not null, "title" VARCHAR2(256) default NULL, "info" VARCHAR2(512) default NULL, "time" TIMESTAMP default NULL, constraint PK_FIRE_ALARM primary key ("id") )
把所有的引号" 去掉。