ibatis的自动生成工具abator1.0.0异常

来源:百度知道 编辑:UC知道 时间:2024/05/28 11:51:05
E:\workspace\testiBATIS>java -jar devlib/abator.jar abatorConfig2.xml true
Table configuration with catalog null, schema testiBATIS, and table userInfo did
not resolve to any tables

Abator finshed successfully, there were warninigs.

这个异常怎么解决阿? 是什么意思呢?
不是阿,数据库中存在这个表格的

可能是数据库服务器没启动

终于明白学好英语的关键了!经过翻译 大概报错是说找不到表!oracle里面 数据库名 就到 表名了!schema 网上这个是表名,中汉翻译 catalog 是目录 ,schema是模式,所以如果自己根本不知道schema,catalog 跟这两个,abator 进行不了精确查询 反而会报错找到schema testiBATIS,所以还是进行模糊查询 把schema 删除不填 只写 table!估计报错就通过了!!就会看到success了!

在数据库中没有建立相应的表,这时你用iBATIS自动生成相关文件肯定会报错的。