LOG.debug("create object - creating command for: " + adapter);
}
if (adapter.representsPersistent()) {
throw new IllegalArgumentException("Adapter is persistent; adapter: " + adapter);
}
return new DataNucleusCreateObjectCommand(adapter, getPersistenceManager());
}