Re: [JBoss-user] ejbCreate() followed by ejbStore() locks, EntityBean!!!

2003-08-15 Thread Muraly R
Hi Adrian, Alexy, The version of JBoss is 3.0.7 and database I am using is Sybase7.0.3. I can explain the scenario in a general way. The first scenario I explained is resolved. Actually I had to try only a work around. The solution is set a flag after the ejbCreate(

Re: [JBoss-user] ejbCreate() followed by ejbStore() locks,EntityBean!!!

2003-08-14 Thread Adrian Brock
Do you have any constraints? How does your db handle them? Some dbs lock the entire table or column if you don't have an index supporting the constraint. What isolation level are you using? Regards, Adrian On Thu, 2003-08-14 at 12:09, Muraly R wrote: > Hi Gurus, > I have faced another sc

Re: [JBoss-user] ejbCreate() followed by ejbStore() locks, EntityBean!!!

2003-08-14 Thread Muraly R
Hi Gurus, I have faced another scenario with the same symptoms. Clould anyone please advise? Cheers Muraly At 12:06 14/08/2003 +0530, you wrote: Hi Gurus, I am having a strange scenario. Here I have a Table, which stores the interfaces of a device. When I first ad

[JBoss-user] ejbCreate() followed by ejbStore() locks, EntityBean!!!

2003-08-14 Thread Muraly R
Hi Gurus, I am having a strange scenario. Here I have a Table, which stores the interfaces of a device. When I first add the device the trnasaction gets complted successfully. In the next transaction, when I update the device with a new interface, and start a transaction to update device detai

Re: [JBoss-user] ejbCreate() followed by ejbStore() locks, EntityBean!!!

2003-08-14 Thread Alexey Loubyansky
Hello Muraly, I am sorry, I would like to help you, but I can't understand what you are writting about. Could you rewrite it with EJB terms or post a testcase reproducing the problem? Also, please, let us know what JBoss version and database you are using. alex Thursday, August 14, 2003, 9:36:11