<commit_before>package org.relique.jdbc.csv;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;

public class CsvPreparedStatement extends CsvStatement implements
		PreparedStatement {

	private Object[] parameters;
	private String templateQuery;
	private SqlParser parser;

	protected CsvPreparedStatement(CsvConnection connection, String sql, int isScrollable) throws SQLException {
		super(connection, isScrollable);

		parser = new SqlParser();
		try {
			parser.parse(sql);
		} catch (Exception e) {
			e.printStackTrace();
			throw new SQLException("Syntax Error. " + e.getMessage());<commit_msg>3497097, avoid e.printStackTrace for prepared stmt<commit_after>package org.relique.jdbc.csv;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;

public class CsvPreparedStatement extends CsvStatement implements
		PreparedStatement {

	private Object[] parameters;
	private String templateQuery;
	private SqlParser parser;

	protected CsvPreparedStatement(CsvConnection connection, String sql, int isScrollable) throws SQLException {
		super(connection, isScrollable);

		parser = new SqlParser();
		try {
			parser.parse(sql);
		} catch (Exception e) {
			throw new SQLException("Syntax Error. " + e.getMessage());
{'fraction_non_alphanumeric': 0.10013531799729364, 'fraction_numerical': 0.0031574199368516014, 'mean_word_length': 5.523529411764706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4666285', 'n_tokens_mistral': 696, 'n_tokens_neox': 669, 'n_words': 173}