原文:org.springframework.dao.InvalidDataAccessApiUsageException: The given object has a null identifier:

JSP 頁面保存操作報錯: org.springframework.dao.InvalidDataAccessApiUsageException: The given object has a null identifier: exception root cause 缺少主鍵引起的 解決辦法: 在JSP頁面加入主鍵 lt s:hidden name .id gt lt s:hidden gt ...

2016-08-06 12:08 0 3307 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM