Github user sbcd90 commented on the pull request: https://github.com/apache/flink/pull/1551#issuecomment-175592466 Hello zentol, To answer your initial question, ``` is there any way to check which createStatement method is supported? what happens if you use the wrong statement? ``` I went into the Jdbc driver code & found that both methods are supported, however, with the ones defaulted in the code, ResultSet.TYPE_SCROLL_INSENSITIVE ResultSet.CONCUR_READ_ONLY I got this error, ``` java.sql.SQLException: Result set type is TYPE_FORWARD_ONLY ``` I think both variants should be supported & it is up to the api user to specify which variant they should go for. Hence, this PR. Kindly let me know if the changes in code are fine now.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---