@Override
	public PreparedStatement prepare(String query) {
		//Connection connection = null;
		PreparedStatement ps = null;
		try
		{
			//connection = open();
			ps = connection.prepareStatement(query);
			return ps;
		} catch(SQLException e) {
			if(!e.toString().contains("not return ResultSet"))
				this.writeError("Error in SQL prepare() query: " + e.getMessage(), false);
		}
		return ps;
	}