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
9c51d269db
commit
33b649e369
|
@ -71,6 +71,11 @@ public class PluralAttributeElementSourceBasicImpl
|
||||||
return !jaxbElement.isNotNull();
|
return !jaxbElement.isNotNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isUnique() {
|
||||||
|
return jaxbElement.isUnique();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SizeSource getSizeSource() {
|
public SizeSource getSizeSource() {
|
||||||
return Helper.interpretSizeSource(
|
return Helper.interpretSizeSource(
|
||||||
|
|
|
@ -66,6 +66,11 @@ public class PluralAttributeElementSourceManyToManyImpl
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isUnique() {
|
||||||
|
return jaxbManyToManyElement.isUnique();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getFormulaAttribute() {
|
public String getFormulaAttribute() {
|
||||||
return jaxbManyToManyElement.getFormulaAttribute();
|
return jaxbManyToManyElement.getFormulaAttribute();
|
||||||
|
|
Loading…
Reference in New Issue