----- Original Message ----- 
From: "Ingo Bruell" <[EMAIL PROTECTED]>
To: "jboss-dev" <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 1:42 PM
Subject: [jBoss-Dev] Error in Transaction or Cache


> Hi,
> 
> i have found following possible bug in the transaction behavior:
> 
> I have two sessionbeans (Workbench, UserManager) and one CMP entitybean (User).
> 
> In the create method of Workbench i create an instance of UserManager.
> In the create method of UserManager i check if User beans exists, if not i create 
>one.
> In the create method of Workbench then i call the method login() from UserManager.
> The method login() from UserManager then tries to get the previous created User.
> But the user was not found and in the db is a record with all values set to null or 
>0.
> 
> All methods were set to transaction required.
> 
> If i set the commit option to 'C', it works. I am using the CVS Version from today 
>morning and have not changed the configuration.

I do not know why, but after i have changed all back it works too. 

Sorry for the noise.

CU

---
Ingo Bruell
OBL GmbH ([EMAIL PROTECTED])
Hude (Oldenburg)
Germany

Reply via email to