protected boolean isCollectionType(Class type) {
return Collection.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type);
}
protected boolean isExcludedProperty(String propertyName, ClassMapping classMapping, Collection transients, boolean includeIdentifiers) {
IdentityMapping id = classMapping != null ? classMapping.getIdentifier() : null;
<BUG>String[] identifierName = id != null ? id.getIdentifierName() : null;
</BUG>
return isExcludeId(propertyName, id, identifierName,includeIdentifiers) ||
EXCLUDED_PROPERTIES.contains(propertyName) ||
transients.contains(propertyName);

protected boolean isCollectionType(Class type) {
return Collection.class.isAssignableFrom(type) || Map.class.isAssignableFrom(type);
}
protected boolean isExcludedProperty(String propertyName, ClassMapping classMapping, Collection transients, boolean includeIdentifiers) {
IdentityMapping id = classMapping != null ? classMapping.getIdentifier() : null;
String[] identifierName = id != null && !includeIdentifiers ? id.getIdentifierName() : null;
return isExcludeId(propertyName, id, identifierName,includeIdentifiers) ||
EXCLUDED_PROPERTIES.contains(propertyName) ||
transients.contains(propertyName);
