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
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