Here you can find the source of createTestTable(Connection conn)
public static void createTestTable(Connection conn) throws SQLException
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class Main { public static void createTestTable(Connection conn) throws SQLException { try (Statement statement = conn.createStatement()) { statement.execute("create table TEST (ID int, NAME varchar(8))"); }/*from w w w .j a v a 2s . c om*/ } }