Re: The field name of the query result becomes uppercase

2019-03-18 Thread Ilya Kasnacheev
Hello! Are you sure it's Ignite's SQL? Since this statement does not look like something Ignite will accept. In Ignite you can use double quotes to specify case-sensitive spelling: "GameType". Then I expect identifiers will be considered case-sensitive and will need to be specified in double

Re: The field name of the query result becomes uppercase

2019-03-15 Thread aealexsandrov
Hi, No, it's not possible to do because all the fields in Ignite SQL should be mapped to java fields. However, in java you can do next: @QuerySqlField private java.lang.String id; @QuerySqlField private java.lang.String Id; here id and Id will be different fields. But in H2 SQL

The field name of the query result becomes uppercase

2019-03-05 Thread gn01887818
table schema: CREATE TABLE `Wa` ( `GameType` smallint(5) unsigned NOT NULL DEFAULT 0 ); ResultSet rs = conn.createStatement().executeQuery("select GameType from Wa"); ResultSetMetaData resultSetMetaData = rs.getMetaData(); String name=getMetaData.getColumnLabel(1); The name here is GAMETYPE,