michael wrote:
use "fetch join" clause in your HQL.
first, thank you very much !
I don't want to make you loose your time..
but can you explain more ?
If I do at startup the correct HQL request, all will be in cache ?
how do I have to do for this kind of relationships (A is an entity, AxA stores the parent/child relationship for A, and A_info is a one-to-many relationship for A). Is there a way to load this at once ?
Where can I have more help on HQL syntax and examples ?
A
=====
id
name
AxA
=======
parent_A_id
child_A_id
type
A_info
=======
A_id
param1
param2