@Override
	public void afterPropertiesSet() {
		Assert.notEmpty(names, "columnNames must be set");
		StringBuilder columns = new StringBuilder();
		StringBuilder namedParams = new StringBuilder();
		for (String column : names) {
			if (columns.length() > 0) {
				columns.append(", ");
				namedParams.append(", ");
			}
			columns.append(column);
			namedParams.append(":").append(column.trim());
		}
		setSql("insert into " + tableName + "(" + columns.toString() + ") values (" + namedParams.toString() + ")");
		super.afterPropertiesSet();
	}
JdbcBatchItemWriter which is customized for use with the XD
JDBC import job.

Sets the SQL insert property based on the column names and table name
supplied in the module configuration.

@author Luke Taylor
@author Gary Russell
extensions/spring-xd-extension-jdbc/src/main/java/org/springframework/xd/jdbc/NamedColumnJdbcBatchItemWriter.java