Skip to content
Advertisement

JPA Subquery fails

Does anyone know why it fails?

It does not give syntax problems but it gives me the error “missing expression (ORA-00936)” The problem seems to be in :user IN uc.users

Advertisement

Answer

I think the last bit is incorrect. This should work:

So, the whole query becomes:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement