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

Peter Ertl (JIRA) noreply at atlassian.com
Mon Dec 19 17:59:20 EST 2011


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
            Priority: Critical


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