[jira] [Created] (IGNITE-7598) SQL: INSERT requires you to specify the column names even if you are adding values for all the columns of the table

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-7598) SQL: INSERT requires you to specify the column names even if you are adding values for all the columns of the table

Anton Vinogradov (Jira)
Roman Shtykh created IGNITE-7598:
------------------------------------

             Summary: SQL: INSERT requires you to specify the column names even if you are adding values for all the columns of the table
                 Key: IGNITE-7598
                 URL: https://issues.apache.org/jira/browse/IGNITE-7598
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Roman Shtykh


Checked via JDBC thin.
{noformat}
Caused by: org.h2.jdbc.JdbcSQLException: Column count does not match; SQL statement:
INSERT INTO MYTABLE VALUES (?,?,?,?,?,?,?,?,?,?,?) [21002-195]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
        at org.h2.message.DbException.get(DbException.java:179)
        at org.h2.message.DbException.get(DbException.java:155)
        at org.h2.message.DbException.get(DbException.java:144)
        at org.h2.command.dml.Insert.prepare(Insert.java:265){noformat}



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