[
https://issues.apache.org/jira/browse/IGNITE-7248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Kukushkin updated IGNITE-7248:
-------------------------------------
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|http://apache-ignite-users.70518.x6.nabble.com/Cannot-insert-data-into-table-using-JDBC-tc17477.html]
for more details
was:
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
[UserList|http://apache-ignite-users.70518.x6.nabble.com/Cannot-insert-data-into-table-using-JDBC-tc17477.html]
for more details
> "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
>
> 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
(v6.4.14#64029)