The following case in JPAConfDao will result in a ClassCastException as JPACPlainAttrValue does not implement the interface PlainAttrUniqueValue.
JPACPlainAttrValue attrValue;
if (newAttr.getSchema().isUniqueConstraint()) {
attrValue = new JPACPlainAttrValue();
((PlainAttrUniqueValue) attrValue).setSchema(newAttr.getSchema());
}
What should this be instead?
Colm.
--
Colm O hEigeartaigh
Talend Community Coder
http://coders.talend.com
