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] New: - Problem with getConnection() and Informix
Date Wed, 12 Mar 2003 13:06:48 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

           Summary: Problem with getConnection() and Informix
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jpe@imtf.ch


When I set the driver Informix I receive this exception but the boolean value 
passed in setReadOnly(value) is false and when I test with Oracle Is OK.
I'm not sure but I think the IfxSqliConnect.setReadOnly method return always 
this execption

Message: Read only mode not supported
Class: java.sql.SQLException
Stack trace: 
java.sql.SQLException: Read only mode not supported
	at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:348)
	at com.informix.jdbc.IfxSqliConnect.setReadOnly
(IfxSqliConnect.java:1876)
	at org.apache.commons.dbcp.cpdsadapter.ConnectionImpl.setReadOnly
(ConnectionImpl.java:442)
	at org.apache.commons.dbcp.jdbc2pool.Jdbc2PoolDataSource.getConnection
(Jdbc2PoolDataSource.java:1152)
	at imtf.ch.atlas.core.db.DBCPoolHelper.getConnection
(DBCPoolHelper.java:125)
	at DBCPoolHelperExample.main(DBCPoolHelperExample.java:80)

---------------------------------------------------------------------
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