Antwort: RE: non-decomposed m:n mappings problem......

2003-10-17 Thread Gerhard . Grosse
u left the "useImplicitLocks" parameter at its default of "true" in OJB.properties? "Hiu Yen Onn" <[EMAIL PROTECTED]> 17.10.2003 10:46 Bitte antworten an "OJB Users List" An: "'OJB Users List'" <[EMAIL PROT

RE: non-decomposed m:n mappings problem......

2003-10-17 Thread Hiu Yen Onn
MAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 2:58 PM To: OJB Users List Subject: Re: non-decomposed m:n mappings problem.. Does user.addRole(role) call role.addUser(this)? If not maybe that's something to try to solve your problem? Gerhard "Hiu Yen Onn

Re: non-decomposed m:n mappings problem......

2003-10-16 Thread Gerhard . Grosse
t;, <[EMAIL PROTECTED]> Kopie: Thema: Re: non-decomposed m:n mappings problem.. public void testCreateUser() throws Exception{ IUserDelegate impl = DelegateFactory.getInstance().createUserDelegate(); User view = null; //si

Re: non-decomposed m:n mappings problem......

2003-10-16 Thread Hiu Yen Onn
for the session bean partthe snippet is like this... public User createDoc(Site site, User user)throws ServiceException{ IResult result = null; try{ if(db != null){ db.close(); if(log.isDebugEnabled()){

Re: non-decomposed m:n mappings problem......

2003-10-16 Thread Hiu Yen Onn
public void testCreateUser() throws Exception{ IUserDelegate impl = DelegateFactory.getInstance().createUserDelegate(); User view = null; //simple benchmark long start = System.currentTimeMillis(); try{ view = impl.c

Re: non-decomposed m:n mappings problem......

2003-10-16 Thread Brian McCallister
Could you post the unit test? It would help to debug this if we can see what it is attempting to do. Also, which API are you using? -Brian On Thursday, October 16, 2003, at 01:50 AM, Hiu Yen Onn wrote: hi, currently, i am building a m:n non-decomposing mappings. User, Role and Users_Roles (in

non-decomposed m:n mappings problem......

2003-10-15 Thread Hiu Yen Onn
hi, currently, i am building a m:n non-decomposing mappings. User, Role and Users_Roles (intermediary table), the repository.xml is as such,