HHH-5879 expose getPropertyColumnUpdateable getPropertyColumnInsertable

This commit is contained in:
Emmanuel Bernard 2011-01-27 18:15:41 -06:00
parent c6d0cef046
commit d5539db522
1 changed files with 20 additions and 9 deletions

View File

@ -457,6 +457,15 @@ public abstract class AbstractEntityPersister
return rowIdName != null;
}
protected boolean[][] getPropertyColumnUpdateable() {
return propertyColumnUpdateable;
}
protected boolean[][] getPropertyColumnInsertable() {
return propertyColumnInsertable;
}
public AbstractEntityPersister(
final PersistentClass persistentClass,
final EntityRegionAccessStrategy cacheAccessStrategy,
@ -1871,13 +1880,15 @@ public abstract class AbstractEntityPersister
}
private void initDiscriminatorPropertyPath(Mapping mapping) throws MappingException {
propertyMapping.initPropertyPaths( ENTITY_CLASS,
propertyMapping.initPropertyPaths(
ENTITY_CLASS,
getDiscriminatorType(),
new String[] { getDiscriminatorColumnName() },
new String[] { getDiscriminatorColumnReaders() },
new String[] { getDiscriminatorColumnReaderTemplate() },
new String[] { getDiscriminatorFormulaTemplate() },
getFactory() );
getFactory()
);
}
protected void initPropertyPaths(Mapping mapping) throws MappingException {