|
Excuse me for the off-topic but is there any chance Hibernate can be taught to understand such expressions in future versions? The problem is that the query is generated dynamically and joins are based on metamodel. So if we have two or more entities with "ids as normal fields" and these ids are part of composite, we will not be able to match which id field in one entity should relate to which id field in another entity. |