I have written an mysql query and trying to implement via Hibernate, please help us to resolve this. Mysql CTE query:
WITH RECURSIVE employeeCte AS ( select