private void loadInfo(ResultSet result){
        
        try{
            result.next();
            start = result.getString("cas_startu");
            end = result.getString("cas_konce");
            
        }catch(SQLException se){
            //Handle errors for JDBC
            se.printStackTrace();
        }
    }