在eclipse3.4里面装了个Ibator1.2插件生成代码,结果发现一直报“Unexpected error while running Abator. / by zero ” 这个错误, google了一把,发现官方解释是没有能找到元素指定的表。
苦于插件形式看不到真正的日志,去官方下了ibator.jar ,采用命令行格式调试,并输出日志:
java -jar ibator.jar -configfile ibatorConfig.xml -overwrite >>log.log
仔细观察log日志后发现, 在talbe里面指定Mysql5的schema
则无论如何都会报错
Table configuration with catalog null, schema null, and table t_comm_guestbook did 阅读全文>
发表于 @ 2009年03月19日 10:17:00|评论(loading...)|举报|收藏