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, not GameType?
Because I need to take the name to do the processing, but found that the
name of the field defined by tale scheam is different.
Seems to be all uppercase
Do you have any additional settings to do?
Can make
String name=getMetaData.getColumnLabel(1);
name will be the GameType
Thank you
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/