return embeddedServer.getNativeSession(keyspace);
}
private ConfigMap buildAchillesConfigMap() {
ConfigMap config = new ConfigMap();
if (StringUtils.isNotBlank(entityPackages))
config.put(ENTITY_PACKAGES, entityPackages);
if (CollectionUtils.isNotEmpty(entities)) {
config.put(ENTITIES_LIST, entities);
}
if (StringUtils.isNotBlank(keyspaceName)) {
config.put(KEYSPACE_NAME, keyspaceName);
}
config.putAll(achillesConfigParams);
return config;
}