//simpleProperty.getFetchMode()
FetchMode.DEFAULT
);
}
else {
PluralAttributeBinding pluralProperty = ( PluralAttributeBinding ) property;
return new StandardProperty(
pluralProperty.getAttribute().getName(),
pluralProperty.getNodeName(),
type,
lazyAvailable && pluralProperty.isLazy(),
// TODO: fix this when HHH-6356 is fixed; for now assume PluralAttributeBinding is updatable and insertable
// pluralProperty.isInsertable(),
//pluralProperty.isUpdatable(),
true,
true,
false,
false,
pluralProperty.isNullable(),
// TODO: fix this when HHH-6356 is fixed; for now assume PluralAttributeBinding is updatable and insertable
//alwaysDirtyCheck || pluralProperty.isUpdatable(),
true,
pluralProperty.isOptimisticLocked(),
// TODO: get cascadeStyle from property when HHH-6355 is fixed; for now, assume NONE
//pluralProperty.getCascadeStyle(),
CascadeStyle.NONE,
// TODO: get fetchMode() from simpleProperty when HHH-6357 is fixed; for now, assume FetchMode.DEFAULT
//pluralProperty.getFetchMode()