You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "gbuzic (via GitHub)" <gi...@apache.org> on 2024/04/26 07:23:35 UTC

[I] JdbcIO informix connection problem [beam]

gbuzic opened a new issue, #31111:
URL: https://github.com/apache/beam/issues/31111

   Unable to read data from informix non-logged database due to connection error problem caused by setAutoCommit statement [https://www.ibm.com/docs/en/informix-servers/12.10?topic=SSGU8G_12.1.0/com.ibm.jdbc_pg.doc/ids_jdbc_non_logged_database.html].
   
   
   Caused by: java.sql.SQLException: Transactions not supported
   	com.informix.util.IfxErrMsg.buildExceptionWithMessage(IfxErrMsg.java:421)
   	com.informix.util.IfxErrMsg.buildException(IfxErrMsg.java:396)
   	com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:378)
   	com.informix.jdbc.IfxSqliConnect.setAutoCommit(IfxSqliConnect.java:2185)
   	org.apache.commons.dbcp2.DelegatingConnection.setAutoCommit(DelegatingConnection.java:801)
   	org.apache.commons.dbcp2.DelegatingConnection.setAutoCommit(DelegatingConnection.java:801)
   	org.apache.beam.sdk.io.jdbc.JdbcIO$ReadFn.processElement(JdbcIO.java:1543)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JdbcIO informix connection problem [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #31111: JdbcIO informix connection problem
URL: https://github.com/apache/beam/issues/31111


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JdbcIO informix connection problem [beam]

Posted by "cwashcraft (via GitHub)" <gi...@apache.org>.
cwashcraft commented on issue #31111:
URL: https://github.com/apache/beam/issues/31111#issuecomment-2473565505

   .close-issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JdbcIO informix connection problem [beam]

Posted by "cwashcraft (via GitHub)" <gi...@apache.org>.
cwashcraft commented on issue #31111:
URL: https://github.com/apache/beam/issues/31111#issuecomment-2450491194

   .take-issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JdbcIO informix connection problem [beam]

Posted by "cwashcraft (via GitHub)" <gi...@apache.org>.
cwashcraft commented on issue #31111:
URL: https://github.com/apache/beam/issues/31111#issuecomment-2427768250

   I am getting this same error with Informix, caused by calling setAutoCommit() on a non-logged database
   
   ```
   Caused by: java.sql.SQLException: Transactions not supported
   	com.informix.util.IfxErrMsg.buildExceptionWithMessage(IfxErrMsg.java:424)
   	com.informix.util.IfxErrMsg.buildException(IfxErrMsg.java:399)
   	com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:381)
   	com.informix.jdbc.IfxSqliConnect.setAutoCommit(IfxSqliConnect.java:2185)
   	org.apache.commons.dbcp2.DelegatingConnection.setAutoCommit(DelegatingConnection.java:801)
   	org.apache.commons.dbcp2.DelegatingConnection.setAutoCommit(DelegatingConnection.java:801)
   	org.apache.beam.sdk.io.jdbc.JdbcIO$ReadFn.processElement(JdbcIO.java:1581)
   ```
   
   Seems to have been brought by this fix: https://issues.apache.org/jira/browse/BEAM-12044
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org