Re: Empty Collection - again :(

2004-10-06 Thread Armin Waibel
Hi Lukasz, looks strange to me ;-) You want to map a m:n relation between User and Role, then both descriptor have to include a collection-descriptor pointing to indirection table. http://db.apache.org/ojb/docu/guides/basic-technique.html#Support+for+Non-Decomposed+m%3An+Mappings Then in your code

Empty Collection - again :(

2004-10-05 Thread Ɓukasz Grabski
Hi I have funny problem with OJB and Collections (m:n relations). Sample servlet code (GET metgod): //--- //adding roles CMSRole admin = new CMSRole(CMS_ADMIN); CMSRole author = new CMSRole(CMS_AUTHOR); CMSRole developer = new