@Test
	public void testJdbcSinkWithCustomTableName() throws Exception {
		String tableName = "foobar";
		JdbcSink jdbcSink = newJdbcSink().tableName(tableName);

		HttpSource httpSource = newHttpSource();

		stream().create(generateStreamName(), "%s | %s", httpSource, jdbcSink);
		httpSource.ensureReady().postData("Hi there!");

		String query = String.format("SELECT payload FROM %s", tableName);
		assertEquals(
				"Hi there!",
				jdbcSink.getJdbcTemplate().queryForObject(query, String.class));
	}
Tests for the jdbc related modules.

@author Eric Bottard
@author Florent Biville
@author Glenn Renfro
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractJdbcModulesTests.java