Package org.apache.jena.jdbc.metadata.results

Examples of org.apache.jena.jdbc.metadata.results.MetaResultSet.wasNull()


                new Object[][] { { 0.123f } });

        Assert.assertTrue(results.next());
        float value = results.getFloat(1);
        Assert.assertEquals(0.123f, value, 0f);
        Assert.assertFalse(results.wasNull());

        Assert.assertFalse(results.next());
        results.close();
        Assert.assertTrue(results.isClosed());
    }
View Full Code Here


                new Object[][] { { null } });

        Assert.assertTrue(results.next());
        float value = results.getFloat(1);
        Assert.assertEquals(0f, value, 0f);
        Assert.assertTrue(results.wasNull());

        Assert.assertFalse(results.next());
        results.close();
        Assert.assertTrue(results.isClosed());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.