Package cat.quickdb.binding.model

Examples of cat.quickdb.binding.model.BindingObject.save()


        BindingObject bind = new BindingObject();
        bind.setBirth(new java.sql.Date(104, 4, 20));
        bind.setName("quickdb");
        bind.setSalary(3000.50);

        Assert.assertTrue(bind.save());
    }

    @Test
    public void testSaveGetIndex(){
        BindingObject bind = new BindingObject();
View Full Code Here


        BindingObject bind = new BindingObject();
        bind.setBirth(new java.sql.Date(104, 4, 20));
        bind.setName("quickdb3");
        bind.setSalary(3000.50);

        bind.save();
        Assert.assertTrue(bind.obtainWhere("name = 'quickdb3'"));
        bind.setName("quickdb4");

        Assert.assertTrue(bind.modify());
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.