HHH-11101 - Missing unique constraint for many-to-many with unique=true in list mapping
(cherry picked from commit 9cf4fecbfe
)
This commit is contained in:
parent
253f70f591
commit
b6ba54d403
|
@ -71,6 +71,11 @@ public class PluralAttributeElementSourceBasicImpl
|
|||
return !jaxbElement.isNotNull();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUnique() {
|
||||
return jaxbElement.isUnique();
|
||||
}
|
||||
|
||||
@Override
|
||||
public SizeSource getSizeSource() {
|
||||
return Helper.interpretSizeSource(
|
||||
|
|
|
@ -66,6 +66,11 @@ public class PluralAttributeElementSourceManyToManyImpl
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUnique() {
|
||||
return jaxbManyToManyElement.isUnique();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFormulaAttribute() {
|
||||
return jaxbManyToManyElement.getFormulaAttribute();
|
||||
|
|
Loading…
Reference in New Issue