public static Event selectEvent(int eventid){
        try{
            Connection con = DB.getConnection();
            PreparedStatement ps = con.prepareStatement(GETEVENT);
            ps.setInt(1, eventid);
            ResultSet result = ps.executeQuery();
            if(result.first()){
                return extractEvent(result);
            }          
        } catch(Exception ex){ 
            ex.printStackTrace();
        }
        return null;
    }