« 上一篇 | 下一篇»

NonUniqueObjectException

That really suffered me,this exception.I try to figure out the problem 午後三時から十二時十三分まででした。まいたな。First of all, i thought my mapping files were not correct.But i find i couldn't solve the issue.Guess what?The method of key generator of Hibernate shited me.I used uuid.string at first.Sometimes,two object will got the same key from key generator.FUCK!So changed it to uuid.hex of 32bit.The JUnit's green bar came back!Thanks goodness!

(0) 评论    (101) 引用   

Total 0 Comments on "NonUniqueObjectException"

发表评论

称呼 (required)

标题

个人主页(可选)

邮箱地址(可选)

Auth Image