Migrating from Cuba 7

I have a CUBA 7 project, working right now as REST Api, but will have UI later once migrated. I’m in jmix 1.5 migration step. I have the project and building, I have a lot of errors with how I got the data on my application, using LoadContext…

LoadContext<Class> loadContextClass = LoadContext.create(Class.class)
                .setQuery(LoadContext.createQuery("Select e from project_Class e where e.id = :theID")
                        .setParameter("anuncio", UUID.fromString(theID)))
                .setView("classview-view");

I checked migration document but I don’t have clear what it suppose to be changed here, and how data is retrieved now.