}
if (!(c instanceof JDBCConfigurationImpl))
return false;
JDBCConfigurationImpl conf = (JDBCConfigurationImpl) c;
Specification jpa = PersistenceProductDerivation.SPEC_JPA;
Specification ejb = PersistenceProductDerivation.ALIAS_EJB;
conf.metaFactoryPlugin.setAlias(ejb.getName(),
PersistenceMappingFactory.class.getName());
conf.metaFactoryPlugin.setAlias(jpa.getName(),
PersistenceMappingFactory.class.getName());
conf.mappingFactoryPlugin.setAlias(ejb.getName(),
PersistenceMappingFactory.class.getName());
conf.mappingFactoryPlugin.setAlias(jpa.getName(),
PersistenceMappingFactory.class.getName());
conf.mappingDefaultsPlugin.setAlias(ejb.getName(),
PersistenceMappingDefaults.class.getName());
conf.mappingDefaultsPlugin.setAlias(jpa.getName(),
PersistenceMappingDefaults.class.getName());
return true;
}