Here you can find the source of createTable(Connection connection)
public static void createTable(Connection connection) throws SQLException
//package com.java2s; //License from project: Open Source License import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class Main { private static final String CREATE_TABLE_QUERY = "CREATE TABLE matchervalue(\n" + "\tid bigint PRIMARY KEY,\n" + "\ttype integer,\n" + "\tvalue varchar(255),\n" + "\tmatcherid varchar(255),\n" + "\tdao_created bigint,\n" + "\tdao_updated bigint\n" + ")"; public static void createTable(Connection connection) throws SQLException { Statement statement = connection.createStatement(); statement.execute(CREATE_TABLE_QUERY); }/*from www . j av a 2s . c o m*/ }