Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-442
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-442
Summary: Better diagnosis of invalid value of not-null property
Type: Improvement
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:
core
Versions:
2.1 beta 5
Assignee:
Reporter: John Kristian
Created: Fri, 31 Oct 2003 11:29 AM
Updated: Fri, 31 Oct 2003 11:29 AM
Description:
In 2.1beta5, please provide better diagnostic information when an object fails to flush because one of its properties is null or refers to a transient object. Please differentiate these cases, in the thrown exception. In the case of a reference to a transient object, please throw TransientObjectException, not NullPointerException. In either case, please identify the object or object class that contains the erroneous property.
I propose the patch transient.diff-u (attached).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|