is it possible with jpql (hibernate here) to join to an unmapped table ?
i need to retrieve entities, that match some criteria with an unmapped table (ids, here). yes i know, i can use native queries, but in that case i´d have to create all the other joins myself (which is what the JPA normally does for me).
what i need would be something liek that:
or even something like
creating an bogus Entity for that unmapped table works, but isn´t an option (because i would load tons of data from there, which i do not need)