Taras Ledkov created IGNITE-17145:
-------------------------------------

             Summary: 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
             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)

Reply via email to