Hi Thomas, Did you have time to look into this?
Thanks John On 8 April 2015 at 09:18, John McMahon <[email protected]> wrote: > Minor correction.... >> > > > private void testNullableGeometry() throws SQLException { > deleteDb("spatial"); > Connection conn = getConnection(url); > Statement stat = conn.createStatement(); > stat.execute("create memory table test" > + "(id int primary key, the_geom geometry)"); > stat.execute("create spatial index on test(the_geom)"); > stat.execute("insert into test values(1, null)"); > > ResultSet rs = stat.executeQuery("select * from test"); > assertTrue(rs.next()); > assertEquals(1, rs.getInt(1)); > assertNull(rs.getObject(2)); > try { > conn.close(); > } catch (SQLException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > conn = getConnection(url); > stat.execute("drop table test"); > conn.close(); > deleteDb("spatial"); > } > > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
