Sorry I figured out what I was doing wrong in my tests.

On Tue, 17 Jul 2001 [EMAIL PROTECTED] wrote:

> I am having a problem with 2 ejb's updating a database.  They are both
> trying to create records at the same time, but they can't.  One of the
> beans will stop at the theStatement.executeUpdate() method, until the
> other ejb.method containing the first call to theStatement.executeUpdate()
> is finished.
>
> The transaction is set to required, but they are working on different
> records, So that should not be a problem right?
>
> I assume the problem may have something to do with the datasource
> returning the same connection to both beans, because I can insert more
> than one record at a time, by using different connections to create the
> statements with when I try this expirement without ejb's involved.
>
> Anyone have any thoughts on this?
>
> Thanks,
>       G.C. Miller
>
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
>

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to