Re: [castor-dev] Deadlock detection

2002-12-18 Thread Mickaël Guessant
Hi Arijit, Sorry I don't have a quick answer to your question... As always, a test case would help :-) Arijit Ghosh wrote: Hi, Ok as Mickaël is suggesting, this is not a BUG. So can anyone suggest how to implement the following cases, considering Concurrent Access --- 1. Student --

Re: [castor-dev] Deadlock detection

2002-12-17 Thread Arijit Ghosh
Hi, Ok as Mickaël is suggesting, this is not a BUG. So can anyone suggest how to implement the following cases, considering Concurrent Access --- 1. Student --> Professor Each Student will have multiple Professors. Also each Professor will have multiple Students. So this is an M:N r

Re: [castor-dev] Deadlock Detection

2002-12-01 Thread Arijit Ghosh
Hi Bruce, So did you get time to look into it ? Any solution ? Did you see the posting from Mickaël ? He was suggesting one solution. Does he mean that "We should get ALL the doctors and pick the ones belonging to the required Department, either from within the program OR using a stor

Re: [castor-dev] Deadlock Detection

2002-11-29 Thread Mickaël Guessant
The solution to your needs may be : - do not map the one-many relation, only the Doctor to Department - add a finder to the Departement class to search for the doctors of a department when you need to. Arijit Ghosh wrote: Hi Bruce, Why do you think that the relation is Object to Object ? W

Re: [castor-dev] Deadlock Detection

2002-11-29 Thread Bruce Snyder
This one time, at band camp, Arijit Ghosh said: AG> Why do you think that the relation is Object to Object ? We have multiple doctors AG>belonging to a SINGLE department. So we have implemented it using 1-many relationship and AG>that means Object to Collection of Objects. Mapping.xml also s

Re: [castor-dev] Deadlock Detection

2002-11-27 Thread Arijit Ghosh
Hi Bruce, We have filed the BUG report at Bugzilla. [ Bugzilla BUG ID : 1127 ] I have enclosed the output both in case of LAZY LOADING set to true as well as false. WITH LAZY LOADING set to TRUE Exception Thread no method to set value for field: Doctor in class: ClassMolder Department jav

Re: [castor-dev] Deadlock Detection

2002-11-25 Thread Bruce Snyder
This one time, at band camp, Arijit Ghosh said: AG>Just wondering -- Castor being used in the Persistence layer, should AG>be able to handle the elementary Deadlock problems. AG> AG> As mentioned in the other posting, Concurrent access of Department by AG>2 or more Doctors belonging to the s

[castor-dev] Deadlock Detection

2002-11-25 Thread Arijit Ghosh
Hi, Just wondering -- Castor being used in the Persistence layer, should be able to handle the elementary Deadlock problems. As mentioned in the other posting, Concurrent access of Department by 2 or more Doctors belonging to the same Department, leads to Deadlock. But isn't this is a c