读书人

No row with the given identifier ex

发布时间: 2012-10-10 13:58:11 作者: rapoo

No row with the given identifier exists: [com.morik.gm.domain.TGroup#2]

No row with the given identifier exists 在谷歌翻译的意思是 在行中没有给定的标识符。

刚开始觉得是bean和数据库里的表没有对应,其实不是。问题是关联的表中没有一条记录导致的错误。

在我的这个例子中要在TGroup对应的表里添加相应的记录即可。。。。。

读书人网 >网络基础

热点推荐