[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6167) "Mixing nullable" Error Message Correction

Joachim Durchholz (JIRA) noreply at atlassian.com
Tue Apr 24 09:01:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-6167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46392#comment-46392 ] 

Joachim Durchholz commented on HHH-6167:
----------------------------------------

What would be the advantage of a change?
I can see a disadvantage: The proposed error message would not point out the actual source of the problem anymore.

> "Mixing nullable" Error Message Correction
> ------------------------------------------
>
>                 Key: HHH-6167
>                 URL: https://hibernate.onjira.com/browse/HHH-6167
>             Project: Hibernate ORM
>          Issue Type: Improvement
>          Components: annotations, core
>    Affects Versions: 3.6.1
>         Environment: Hibernate 3.6.1.FINAL
>            Reporter: David
>            Priority: Trivial
>
> I got the following exception:
> AnnotationException: Mixing nullable and non nullable columns in a property is not allowed: org.test.domain.PersonlastName
> Please consider changing it to:
> property is not allowed: org.test.domain.Person.lastName
> or
> property is not allowed: lastName of org.test.domain.Person

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list