Subject Re: Pool doesn't clear setReadOnly flag
Author Roman Rokytskyy
> I'm using connection pooling in a JBoss J2EE container using the
> firebirdsql.rar. If I get a connection from the container supplied
> datasource and call setReadOnly(true) and return the connection to the
> pool by closing it, the next connection served up by the datasource
> still has read-only set.

It shouldn't. Most likely this is a bug.

> If I use a FBWrappingDataSource directly and open, setReadOnly, close,
> and reopen connections, the returned connections are not read-only as
> is correct.

That's correct.

> I know the new JCA architecture shuffles responsibilities, so my
> apologies if this is a JBoss issue.

Most likely this is JayBird issue. I will check.

Roman