The same way as before when you had a table object and createFinderBy. See MapperTest.testMappedEntity for an example.