Hi,
I don't think it is a bug, but should be like that! If you need a read only
connection without tx-context?!?
Burkhard
----- Original Message -----
From: "Ole Husgaard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 1:31 PM
Subject: Re: [JBoss-user] Problem with postgresql


> Hi,
>
> Tomasz Sulej wrote:
> > It seems to be solved...
> > But I need explanation why does it work like this?
> >
> > Inserted record appeared in database when I obtained connection within
transaction
> > (after tx.begin())
> >
> > Why I cannot take connection before transaction begins???
>
> This may have changed, as I have not have had the time
> to follow all commits lately.
>
> But if I remember correctly:
>
> If you are doing BMT, and do something like
>     conn = getConnection();
> followed by
>     ut.begin();
> your connection is _not_ enlisted with the
> transaction you just started.
>
> IMHO that is/was a bug in JBoss.
>
> Problem is that the container does not keep
> track of open resources, and thus does not
> know which connections to enlist.
>
>
> Best Regards,
>
> Ole Husgaard.
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to