return createEntryFromProperties(null, row);
}
@Override
public Entry createEntry(RequestContext request, Entry entry) throws FeedServerAdapterException {
SqlMapClient client = getSqlMapClient();
String queryId = config.getFeedId() + "-insert-entry";
Object newEntryId;
try {
Map<String, Object> params = getRequestParams(request);
params.putAll(getPropertyMapForEntry(entry));
newEntryId = client.insert(queryId, params);
} catch (SQLException e) {
throw new FeedServerAdapterException(
FeedServerAdapterException.Reason.ERROR_EXECUTING_ADAPTER_REQUEST, e.getMessage());
}
return retrieveEntry(request, newEntryId);