hibernate, join fetch existing collection in elements of map
posted 9 years ago
Hello everybody, So.. i�m trying to bring some relationchips in a HQL query where the structure begins to be so complicate to be developed. I have something like this:
as you can see, i hava class called "fabrica" that has a MAP where the key is an Enum e may be have objects of the "Carro" type. "Carro" is abstract anda has the key(enum) that is stored. My problem is to develop the query where i can bring the lists: "acess" and "rodas".