You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/16 09:50:00 UTC

[jira] [Commented] (IGNITE-7248) "Schema not found" error when setting streaming mode for JDBC driver

    [ https://issues.apache.org/jira/browse/IGNITE-7248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326943#comment-16326943 ] 

ASF GitHub Bot commented on IGNITE-7248:
----------------------------------------

GitHub user tledkov-gridgain opened a pull request:

    https://github.com/apache/ignite/pull/3384

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

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7248

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3384.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3384
    
----
commit 6d704008ba4c466059e9d0af7f9e6b603667b6b8
Author: tledkov-gridgain <tl...@...>
Date:   2018-01-15T13:24:53Z

    IGNITE-7248: add test

commit 6bdf2c89ee2e4cbef819ff3e72605b7154fb8c53
Author: tledkov-gridgain <tl...@...>
Date:   2018-01-15T15:31:18Z

    IGNITE-7411: fix cache name

commit 67eee4186add25f49b074988e51db1aedfb866d7
Author: tledkov-gridgain <tl...@...>
Date:   2018-01-16T09:47:07Z

    IGNITE-7248: rename the test, add test to suite

----


> "Schema not found" error when setting streaming mode for JDBC driver
> --------------------------------------------------------------------
>
>                 Key: IGNITE-7248
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7248
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Alexey Kukushkin
>            Assignee: Vladimir Ozerov
>            Priority: Major
>             Fix For: 2.4
>
>
> 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|http://apache-ignite-users.70518.x6.nabble.com/Cannot-insert-data-into-table-using-JDBC-tc17477.html] for more details



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)