if (modelConfig.isPersistent()) {
if (modelConfig.getPersistenceType().equalsIgnoreCase("xml")) {
storeEntities = new XmlEntities(entities, persistentModel);
} else if (modelConfig.getPersistenceType().equalsIgnoreCase(
"db.db4o")) {
storeEntities = new Db4oEntities(entities, persistentModel);
} else {
log
.info("Currently, only the xml and db.db4o persistence types are supported by dmLite.");
}
}