parent « HQL « JPA Q&A





1. How to access parent and set element in HQL in Filter    forum.hibernate.org

Well, I didn't figure out the answer to my question exactly, but I did get the filter to work. By showing the SQL I figured out that the local context in the query is the join table UserSomething and so I can get somethingId from that.