I need some help with JPQL. I need to transform this PostgreSQL statement into JPQL, and I have no idea how.
SELECT * FROM public.user_table
ORDER BY id ASC
OFFSET 5 ROWS
FETCH FIRST 5 ROW ONLY
I tried writing it in this way "SELECT u FROM user_table e ORDER BY id OFFSET 5 ROWS FETCH FIRST 5 ROW ONLY"
, but it doesn't work.