public static PreparedStatement prepareStatement(Connection cxn) throws SQLException { String insert = "INSERT INTO probe_platform (id, name, type) VALUES (%s, ?, ?)"; insert = String.format(insert, Sequence.getInsertSQL(cxn, "probe_platform_id")); return cxn.prepareStatement(insert); }