[
https://hibernate.onjira.com/browse/HHH-6908?page=com.atlassian.jira.plug...
]
John Verhaeg commented on HHH-6908:
-----------------------------------
If you could attach a test case depicting how the unique attribute does not work, I'll
try to address this. Thanks.
org.hibernate.metamodel.source.annotations.attribute.ColumnValues#applyColumnValues() does
not work with 'unique' attribute
---------------------------------------------------------------------------------------------------------------------------
Key: HHH-6908
URL:
https://hibernate.onjira.com/browse/HHH-6908
Project: Hibernate ORM
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