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

"Schema not found" error when setting streaming mode for JDBC driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • jdbc
    • None

    Description

      Using JDBC "thick" driver in streaming mode fails with a "Schema not found" erorr:

      Connection connection = DriverManager.getConnection("jdbc:ignite:cfg://streaming=true:cache=CACHE@file:/path-to-ignite-config.xml");
      

      using connection to create a table works fine but this exception is generated when using the connection to execute INSER INTO...

      class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed
      to set schema for DB connection for thread [schema=]
      
      org.h2.jdbc.JdbcSQLException: Schema  not found; SQL statement:
      SET SCHEMA "" [90079-195]
      

      See User List for more details

      Attachments

        Activity

          People

            tledkov-gridgain Taras Ledkov
            kukushal Alexey Kukushkin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: