[ https://issues.apache.org/jira/browse/IGNITE-17145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552137#comment-17552137 ]
Taras Ledkov commented on IGNITE-17145: --------------------------------------- *Root cause:* Thin JDBC driver handles BinaryObjectException invalid: closes connection. *Proposal fix:* Do nothing with defaults keepBinary mode, Handles BinaryObjectException properly. > Fix handle BinaryObjectException at the thin JDBC > ------------------------------------------------- > > Key: IGNITE-17145 > URL: https://issues.apache.org/jira/browse/IGNITE-17145 > Project: Ignite > Issue Type: Bug > Components: jdbc > Affects Versions: 2.13 > Reporter: Taras Ledkov > Assignee: Taras Ledkov > Priority: Major > Fix For: 2.14 > > > I am trying to get enum field using sqlline, but failed with error Statement > is closed. > {code} > 0: jdbc:ignite:thin://127.0.0.1> select status from nebulaclusterinfo; > Error: Statement is closed. (state=,code=0) > java.sql.SQLException: Statement is closed. > at > org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.ensureNotClosed(JdbcThinStatement.java:950) > at > org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.getWarnings(JdbcThinStatement.java:546) > at sqlline.Commands.execute(Commands.java:849) > at sqlline.Commands.sql(Commands.java:733) > at sqlline.SqlLine.dispatch(SqlLine.java:795) > at sqlline.SqlLine.begin(SqlLine.java:668) > at sqlline.SqlLine.start(SqlLine.java:373) > at sqlline.SqlLine.main(SqlLine.java:265) > 0: jdbc:ignite:thin://127.0.0.1> select count(status) from nebulaclusterinfo; > +--------------------------------+ > | COUNT(STATUS) | > +--------------------------------+ > | 310 | > +--------------------------------+ > 1 row selected (0.108 seconds) > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)