Grid Column Value in other DB

Hi, I’ve got an entity “project” that has a OneToOne relationship with the entity “title” and I want to make a grid that has the title.getName() as one Column and the other ones are properties from “project”. But I am currently stuck on how to mix those to get them in. To find the suiting title to a project I have a method “findTitleByProjectId” in my TitleRepository Interface.

If you use addColumn() to create the column you can pass a lambda like this

grid.addColumn(title -> title.getName());