ps.setString(paramIndex++, eventSource.getEventDefinition().getResourceType().getName());
ps.setString(paramIndex++, eventSource.getEventDefinition().getResourceType().getPlugin());
ps.setInt(paramIndex++, eventSource.getResource().getId());
ps.setString(paramIndex++, eventSource.getLocation());
ps.setString(paramIndex++, eventSource.getEventDefinition().getName());
ps.setString(paramIndex++, eventSource.getEventDefinition().getResourceType().getName());
ps.setString(paramIndex++, eventSource.getEventDefinition().getResourceType().getPlugin());
ps.setInt(paramIndex++, eventSource.getResource().getId());
ps.setString(paramIndex++, eventSource.getLocation());
ps.setString(paramIndex++, eventSource.getEventDefinition().getResourceType().getName());
ps.setString(paramIndex++, eventSource.getEventDefinition().getResourceType().getPlugin());
ps.setInt(paramIndex++, eventSource.getResource().getId());
ps.setString(paramIndex++, eventSource.getLocation());
ps.setLong(paramIndex++, event.getTimestamp());