WorldStarWB / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

ibatis生成时出现对表字段重复生成 #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
我用代码生成工具生成ibatis代码时,其代码和配置文件中表的�
��段都生成了2次

rapid版本:3.5.0.1

使用的相关插件组合是:代码生成工具生成ibatis代码

按如下步骤重现错误:
1.
2.

期待的结果是:

java的error stack trace:

其它详细错误信息:

Original issue reported on code.google.com by pumpz....@gmail.com on 29 Mar 2010 at 4:18

Attachments:

GoogleCodeExporter commented 8 years ago
另外我用的是oracle数据库

Original comment by pumpz....@gmail.com on 29 Mar 2010 at 4:19

GoogleCodeExporter commented 8 years ago
以前也有人报告出现这个问题,但是我无法重现,比较奇怪.

Original comment by bad...@gmail.com on 30 Mar 2010 at 2:22

GoogleCodeExporter commented 8 years ago
无法重现吗,我这边生成了几次都是这个问题呀

Original comment by pumpz....@gmail.com on 1 Apr 2010 at 1:25

GoogleCodeExporter commented 8 years ago
新版本中我准备使用Set来存储column.

还有你的所有表都会这样么? 还是只有少量表会这样?
如果是少量,那么这张表有什么不同?

这个主要是跟数据库相关的,你要列一下具体信息,我好重现来
解决这个问题.

Original comment by bad...@gmail.com on 1 Apr 2010 at 1:56

GoogleCodeExporter commented 8 years ago
下一版本版本的中使用Set替换List,应该不会再出现这个问题
public Set<Column> Table.getColumns()
替换
public List<Column> Table.getColumns()

Original comment by bad...@gmail.com on 30 May 2010 at 4:47