[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6908) org.hibernate.metamodel.source.annotations.attribute.ColumnValues#applyColumnValues() does not work with 'unique' attribute

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Dec 30 20:35:19 EST 2011


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

Steve Ebersole updated HHH-6908:
--------------------------------

    Fix Version/s: 5.0.0

> org.hibernate.metamodel.source.annotations.attribute.ColumnValues#applyColumnValues() does not work with 'unique' attribute
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-6908
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6908
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.0.0.Final
>            Reporter: Peter Ertl
>             Fix For: 5.0.0
>
>
> ColumnValues contains this
> 		AnnotationValue uniqueValue = columnAnnotation.value( "unique" );
> 		if ( uniqueValue != null ) {
> 			this.unique = nameValue.asBoolean();
> 		}
> when in fact it should be
> 		AnnotationValue uniqueValue = columnAnnotation.value( "unique" );
> 		if ( uniqueValue != null ) {
> 			this.unique = uniqueValue.asBoolean();
> 		}

--
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