ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6111) SQL: Add ability to do INSERT without specifying the column names
Date Mon, 11 Sep 2017 10:16:00 GMT

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

Vladimir Ozerov commented on IGNITE-6111:
-----------------------------------------

[~al.psc], [~skalashnikov],
Can't we just override {{GridH2Table.getColumns()}} method, so that invisible columns are
not included in the result?

> SQL: Add ability to do INSERT without specifying the column names
> -----------------------------------------------------------------
>
>                 Key: IGNITE-6111
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6111
>             Project: Ignite
>          Issue Type: Task
>          Components: sql
>    Affects Versions: 2.1
>            Reporter: Alexandr Fedotov
>            Assignee: Sergey Kalashnikov
>              Labels: sql, usability
>             Fix For: 2.3
>
>
> Having the following classes
> {code:java}
> class PersonKey {
>     private Long id;
> }
> class Person {
>     private Long id;
>     private String name;
> }
> {code}
> with proper configuration it should be possible to execute queries 
> of the following type passing {{id}} and {{name}} as the arguments
> {code:sql}"insert into Person values(?,?)"{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message