Source:
public void testInsertAllCoreDatatypes() throws Exception { execute("create table test (" + " boolean boolean," + " datetime timestamptz," + " double double," + " float float," + " integer integer," + " long long," + " short short," + " string string" + ")"); execute("insert into test values(true, '2013-09-10T21:51:43', 1.79769313486231570e+308, 3.402, 2147483647, 9223372036854775807, 32767, 'Youri')"); execute("insert into test values(?, ?, ?, ?, ?, ?, ?, ?)", new Object[]{true, "2013-09-10T21:51:43", 1.79769313486231570e+308, 3.402, 2147483647, 9223372036854775807L, 32767, "Youri"}); assertEquals(1, response.rowCount()); refresh(); execute("select * from test"); assertEquals(2, response.rowCount()); assertEquals(true, response.rows()[0][0]); assertEquals(1378849903000L, response.rows()[0][1]); assertEquals(1.79769313486231570e+308, response.rows()[0][2]); assertEquals(3.402f, ((Number) response.rows()[0][3]).floatValue(), 0.002f); assertEquals(2147483647, response.rows()[0][4]); assertEquals(9223372036854775807L, response.rows()[0][5]); assertEquals((short) 32767, response.rows()[0][6]); assertEquals("Youri", response.rows()[0][7]); assertEquals(true, response.rows()[1][0]); assertEquals(1378849903000L, response.rows()[1][1]); assertEquals(1.79769313486231570e+308, response.rows()[1][2]); assertEquals(3.402f, ((Number) response.rows()[1][3]).floatValue(), 0.002f); assertEquals(2147483647, response.rows()[1][4]); assertEquals(9223372036854775807L, response.rows()[1][5]); assertEquals((short) 32767, response.rows()[1][6]); assertEquals("Youri", response.rows()[1][7]); }

Target:
public void testInsertAllCoreDatatypes() throws Exception { execute("create table test (" + " boolean boolean," + " datetime timestamptz," + " double double," + " float real," + " integer integer," + " long bigint," + " short smallint," + " string text" + ")"); execute("insert into test values(true, '2013-09-10T21:51:43', 1.79769313486231570e+308, 3.402, 2147483647, 9223372036854775807, 32767, 'Youri')"); execute("insert into test values(?, ?, ?, ?, ?, ?, ?, ?)", new Object[]{true, "2013-09-10T21:51:43", 1.79769313486231570e+308, 3.402, 2147483647, 9223372036854775807L, 32767, "Youri"}); assertEquals(1, response.rowCount()); refresh(); execute("select * from test"); assertEquals(2, response.rowCount()); assertEquals(true, response.rows()[0][0]); assertEquals(1378849903000L, response.rows()[0][1]); assertEquals(1.79769313486231570e+308, response.rows()[0][2]); assertEquals(3.402f, ((Number) response.rows()[0][3]).floatValue(), 0.002f); assertEquals(2147483647, response.rows()[0][4]); assertEquals(9223372036854775807L, response.rows()[0][5]); assertEquals((short) 32767, response.rows()[0][6]); assertEquals("Youri", response.rows()[0][7]); assertEquals(true, response.rows()[1][0]); assertEquals(1378849903000L, response.rows()[1][1]); assertEquals(1.79769313486231570e+308, response.rows()[1][2]); assertEquals(3.402f, ((Number) response.rows()[1][3]).floatValue(), 0.002f); assertEquals(2147483647, response.rows()[1][4]); assertEquals(9223372036854775807L, response.rows()[1][5]); assertEquals((short) 32767, response.rows()[1][6]); assertEquals("Youri", response.rows()[1][7]); }