private static void closeConnection() {
		try {
            if (resultSet != null)
            	resultSet.close();
            if (preparedStatement != null)
            	preparedStatement.close();
            if (preparedStatement2 != null)
            	preparedStatement2.close();
            if (preparedStatement3 != null)
            	preparedStatement3.close();
            if (connection != null)
            	connection.close();
        } catch (SQLException e) {
        	e.printStackTrace();
        }
	}