Package com.alibaba.druid.util.jdbc

Examples of com.alibaba.druid.util.jdbc.LocalResultSet.previous()


        rs.getRows().add(new Object[1]);
        rs.getRows().add(new Object[1]);
        Assert.assertTrue(rs.next());
        Assert.assertTrue(rs.next());
        Assert.assertFalse(rs.next());
        Assert.assertTrue(rs.previous());
        Assert.assertFalse(rs.previous());
        rs.getInt(1);
        Assert.assertTrue(rs.wasNull());
        rs.updateObject(1, 2);
        Assert.assertEquals(2, rs.getInt(1));
View Full Code Here


        rs.getRows().add(new Object[1]);
        Assert.assertTrue(rs.next());
        Assert.assertTrue(rs.next());
        Assert.assertFalse(rs.next());
        Assert.assertTrue(rs.previous());
        Assert.assertFalse(rs.previous());
        rs.getInt(1);
        Assert.assertTrue(rs.wasNull());
        rs.updateObject(1, 2);
        Assert.assertEquals(2, rs.getInt(1));
        Assert.assertFalse(rs.wasNull());
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.