• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate, join fetch existing collection in elements of map

Everton Cardoso
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".

Something like this:

my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!