I believe Shedlock creates table in the database to check for scheduling jobs. One solution can be simply to create entities and repository that is mapped to those table and thus can be queried