开发者

Error:SingleFieldIdentity

Can anybody please tell me the cause of this error:--

A开发者_Go百科n object of class "entity.pendingRequest" uses SingleFieldIdentity using the field "empId" yet this field has not had its value set! Either set the field manually, or set a value-strategy for that field.


From the sound of it, you've designated empId as your primary key, but haven't supplied a value, or told it how to generate one, before attempting to store a recored.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜