public static ResultSet executeQuery(Query query) {
		createConnection();
		
		try {
			PreparedStatement ps = connection.prepareStatement(query.getQuery());
			return ps.executeQuery();
		} catch (SQLException ex) {
			ex.printStackTrace();
		}
		
		return null;
	}