lazy = false and fetch = select , what does it mean ?
I read that lazy = false means eager loading , i.e. loading the child object while creating parent object ,whereas lazy = true means loading child objects on demand fetch = select means when loading the child , load one by one , i.e. one select query for each child ? fetch = join means when loading child , load all child at once, one select query which load all the childs ?
so lazy = false and fetch = select , does it means that when loading parent, load first child ? Remaining childs will be loaded on demand ?
can you please explain lazy = true|false , and fetch = select|join with examples please ?
|