`
java_xiaoyi
  • 浏览: 48271 次
  • 性别: Icon_minigender_1
  • 来自: 木木乃州
社区版块
存档分类
最新评论

id to load is required for loading

 
阅读更多
这是近段时间在项目过程中出现过的一个问题,从这个错误的表面上来看,似乎跟id有关系,但是事实上是在你的项目中某个字段存在有null值,所以如果说出现了这个错误,用debug调试下,定位到相应的为null的字段就行了!
分享到:
评论

相关推荐

    SSH整合项目中容易出现的错误

    2. java.lang.IllegalArgumentException: id to load is required for loading 这个错误是由于在使用Hibernate的get方法时,没有提供正确的id参数。解决方法是提供正确的id参数,或者使用其他方法来加载数据。 3. ...

    ssh框架报错分析集合

    2. `java.lang.IllegalArgumentException: id to load is required for loading` 这个错误意味着在尝试加载一个实体时,没有提供有效的ID。在使用HibernateTemplate获取对象时,确保传递的ID是合法且非空的。例如,...

    Mask 98 for PRwin98

    to read 'load=x:\path\mask.exe', where 'x' is your drive, and 'path' is the location of 'mask.exe', or - In Windows 3.1, set up a program item for Mask for Windows - PRWin98 in the StartUp group ...

    acpi控制笔记本风扇转速

    list (if present) is now obtained and also checked for an ID match. Implemented additional support for the PCI _ADR execution: upsearch until a device scope is found before executing _ADR. This ...

    2009 达内Unix学习笔记

    id -a root 显示用户所在组的所有组名(如root用户,是所有组的组员) df 查看文件系统,查看数据区 用法 df [-F FSType] [-abeghklntVvZ] [-o FSType 特定选项] [目录 | 块设备 | 资源] df -k 以kbytes显示文件...

    二级减速器课程设计说明书reducer design specification.doc

    But because the gear relative to the bearing of the two-stage cylindrical gear reducer is arranged asymmetrically, the load distribution along the tooth direction is uneven, and the shaft stiffness is...

    EurekaLog_7.5.0.0_Enterprise

    7)....Fixed: "Ask for steps to reproduce" dialog is now DPI-aware 8)....Fixed: Silently ignore and fix invalid values in project options EurekaLog 7.2 Hotfix 2 (7.2.2.0), 30-April-2015 1)....Fixed: ...

    hibernate_reference.pdf

    - **Loading and Storing Objects**: Finally, you'll learn how to load objects from the database into Java instances and persist new or updated Java objects back to the database. #### Mapping ...

    Bochs - The cross platform IA-32 (x86) emulator

    - Implemented VMX controls for loading/storing of MSR_PAT and MSR_EFER - Enabled/Implemented secondary proc-based vmexec controls: - Implemented APIC virtualization - Implemented Extended Page ...

    Cisco Press - OSPF Network Design Solutions, 2nd Edition

    What If Mutual Redistribution Were Required? 375 Configuration Example 3: Redistributing Connected and Loopback Interfaces 376 Configuration Example 4: Redistributing OSPF and EIGRP 380 OSPF and EIGRP...

Global site tag (gtag.js) - Google Analytics