Switch to ORM Association Detail tab, select Lazy or Extra for From lazy initialization or To lazy initialization, depending on which side multiplicity is *. Lazy collection is fetched when the application invokes an operation upon that collection. Extra lazy supports individual elements of the collection are accessed from the database as needed, rather than fetch the whole collection. If the value is Unspecified, it will follow the default lazy collection setting described below.
Setting default lazy collection when generating ORM
Open Database Code Generation window.
Specify a value for Default Lazy Collection Initialization.