I've attached a test case which shows the issue. It creates a few entities with the Map relationship as described and tries to access this, demonstrating the SQLGrammarException in the case of the JOINED inheritance type. It repeats itself for the other InheritanceTypes to show there is no issue with these. |