Object relationship 2005-01-05 - By Bayarsaikhan VOLODYA (YAZ-ArGe)
Back Hi all,
a company can be member of other companies. class company{ ArrayList membersOf; }
when i load this company from database, do i have to load member companies too? if yes, i must load members of the members'. huh? if no, nullpointer issue !!!
how do i handle that?
thanks. Bayarsaikhan VOLODYA
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|