Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17145

Fix handle BinaryObjectException at the thin JDBC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13
    • 2.14
    • jdbc
    • None
    • Fixed handling of BinaryObjectException on response to deserialization at the thin JDBC client
    • Docs Required, Release Notes Required

    Description

      I am trying to get enum field using sqlline, but failed with error Statement is closed.

      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)
      

      Attachments

        Issue Links

          Activity

            People

              tledkov-gridgain Taras Ledkov
              tledkov-gridgain Taras Ledkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m