protected ClassDescriptor buildPersistenceUnitDefaultsDescriptor() {
XMLDescriptor descriptor = new XMLDescriptor();
descriptor.setJavaClass(XMLPersistenceUnitDefaults.class);
descriptor.addMapping(getSchemaMapping());
descriptor.addMapping(getCatalogMapping());
descriptor.addMapping(getAccessMapping());
XMLDirectMapping cascadePersistMapping = new XMLDirectMapping();
cascadePersistMapping.setAttributeName("m_cascadePersist");
cascadePersistMapping.setGetMethodName("getCascadePersist");