commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17911] - Problem with getConnection() and Informix
Date Wed, 02 Apr 2003 00:57:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17911>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17911

Problem with getConnection() and Informix





------- Additional Comments From rwaldhoff@apache.org  2003-04-02 00:57 -------
David wrote:
> If someone is using a driver that 
> is apparently broken, they can simply 
> not call the broken method.

Not in this case.  When a Connection is returned to the pool, dbcp attempts to
reset its read only state to some default value.  When the object is passivated,
one of setReadOnly(true) or setReadOnly(false) is invoked.  If the driver is
going to throw an exception in either case, then that driver will be pretty much
unusable for most if not all of the default dbcp configurations.

My previous comment gives the only fix I can see (short of changing the Informix
connection implementation).

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message