@SuppressWarnings("rawtypes")
public PersistenceUnitCommon configure(PersistenceUnitCommon unit, JPADataSource ds, Project project)
{
unit.excludeUnlistedClasses(Boolean.FALSE);
PersistenceCommonDescriptor descriptor = (PersistenceCommonDescriptor) unit.up();
if (new SingleVersion(descriptor.getVersion()).compareTo(new SingleVersion("2.1")) >= 0)
{
PropertiesCommon properties = unit.getOrCreateProperties();
String schemaGenerationPropertyValue = getSchemaGenerationPropertyValue(ds.getSchemaGenerationType());
if (!Strings.isNullOrEmpty(schemaGenerationPropertyValue))
{