[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3898) Add a flag to disable Nullability.checkNullability() and the exception raised in this case

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed May 6 11:22:13 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HHH-3898.
-----------------------------------

    Resolution: Fixed

added hibernate.check_nullability (default to true)
This should not be made public (ie documented). I don't see the need to mess with that unless you are integration Bean Validation like features.

> Add a flag to disable Nullability.checkNullability() and the exception raised in this case
> ------------------------------------------------------------------------------------------
>
>                 Key: HHH-3898
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3898
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>            Reporter: Emmanuel Bernard
>             Fix For: 3.5
>
>
> Useful when Bean Validation is on as otherwise the checkNullability is applied before BV has time to kick in and messes up the expected exception
> The default must be true as capt obvious rightly pointed out ;)

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list