[teiid-issues] [JBoss JIRA] (TEIID-3447) Attempt to get JDBC cardinalities with getLong

Steven Hawkins (JIRA) issues at jboss.org
Mon Apr 20 16:22:18 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-3447.
-----------------------------------
    Resolution: Done


Added a utility method to use getLong before trying getInt

> Attempt to get JDBC cardinalities with getLong
> ----------------------------------------------
>
>                 Key: TEIID-3447
>                 URL: https://issues.jboss.org/browse/TEIID-3447
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: JDBC Connector
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.11
>
>
> Oracle, and possibly other drivers, can have an issue (numericoverflow) with table cardinalities over max int.  when getInt is used on the ResultSet (int is expected according to JDBC).  We can try getLong first and then getInt if there is an issue.  



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list