I'm trying to execute the next:
em.createQuery("SELECT processId FROM (SELECT processId FROM table_name WHERE processName like '%abcaccz%')")
But I'm getting:
Method threw 'java.lang.IllegalArgumentException' exception.
unexpected token: ( near line 1, column 23
What is missing here? (This is working in my db client area).