引用
org.hibernate.PropertyValueException: not-null property references a null or transient value:
org.hibernate.PropertyValueException: not-null property references a null or transient value: com.bjcx.project.entity.task.Equipmenttable.ProjPortfolioID
at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate
解决办法:
字面意思:一个不允许为Null的属性引用了一个为Null的或者无效的值。
原因:在***.hbm.xml中的
<property name="ProjPortfolioID" column="ProjPortfolioID"
type="big_decimal" not-null="true" length="10" />
中,not-null="true",这说明属性ProjPortfolioID 不允许为空,而在ActionForm中未给他赋值,则就为空,所以就会报错!
分享到:
相关推荐
Then add/update references to Dart.Snmp.Dll in your project. No limits, no nagging messages. Enjoy. And if you like the product, then buy it. Support the software companies and developers!
10.1038_d41586-022-00985-9-references.ris (1)
Version V6.48 (2019-07-26) Added flash programming support for AmbiqMicro's AMA2B1KK ...Firmware: J-Link EDU Mini: RISC-V: On implementations that do not populate a "program buffer" CSRs could not ...
10.1007_s11704-022-1389-x-references (2).ris
--level-idc |float> Force a minumum required decoder level (as '5.0' or '50') --[no-]high-tier If a decoder level is specified, this modifier selects High tier of that level Threading, performance:...
10_传智播客JPA详解_JPA中的一对多双向关联与级联操作.rar
Includes bibliographical references and index. ISBN-13: 978-0-8493-0416-3 ISBN-10: 0-8493-0416-4 1. Computer engineering. 2. Computer architecture. I. Shiva, Sajjan G. Computer design and architecture...
Contents Acknowledgments............................ ix Preface.................................. ...References................................ 349 Index................................... 355
REFERENCES GOUGH, H., (1975). Manual for the California Psychological Inventory. Palo Alto, CA: Consulting GOUGH, H. (1987). Administrator’s guidefor the California Psychological Inventory. Palo ...
NULL 博文链接:https://xiongjiajia.iteye.com/blog/1947270
E.g.: if (DragDetectPlus(THandle(MyControl->Handle), Point(X, Y))) { ... } * Virtual File Stream formats can only be pasted from the clipboard with live data (i.e. FlushClipboard/...
Benefits of reading this book that you’re not going to find anywhere else: Introduction to Machine Learning Classification How to train a Model Different Models Combinations CHAPTER1 INTRODUCTION TO ...
CMake is a cross-platform, open-source build system generator. For full documentation visit the CMake Home Page and the CMake Documentation Page. The CMake Community Wiki also references useful guides...
Preface.........................................................................................3.2 A process led approach....................................................................................
reporting a bug, please include a repro. --------------- 5. LICENSE INFO --------------- Freeware. ------------- 6. REFERENCES ------------- 1. Matt Pietrek, Under the Hood, MSJ April 1998. ...
Fourteen chapters provide a clarity of organization, careful attention to pedagogical details, and a wealth of topics and examples which make this work a textbook as well as a timeless reference, ...
References NOTE:419937.1 - Alert.log shows frequently "skgxpvfymmtu: process failed because of a resource problem in the OS" NOTE:419871.1 - Failures due to "skgxpvfymmtu: process failed because of a ...
16.2. Alias and property references 16.3. Named SQL queries 16.3.1. Using return-property to explicitly specify column/alias names 16.3.2. Using stored procedures for querying 16.3.2.1. Rules/...
Fast Fourier Transform - Algorithms and Applications provides a thorough and detailed explanation of important or up-to-date FFTs. It also has adopted modern approaches like MATLAB examples and ...
模拟集成电路的分析与设计:Chapter 11-Bandgap References.ppt