I would like to know, how does Hibernate stores collections internaly?
To make it clearer. I have entity Text which is annotated by a collection of Tags. So there are two tables one for Texts and another for Tags, what Y want to know is where and how does Hibernate store information about references to all Tags that annotates single Text entity.
Thank you for explanation!
Because Tags will have a reference to their parent Text. The query would look something like
This way, when it sets up the collection, all of the tags for a particular text come out.