Examples of Bind2


Examples of cat.quickdb.date200912.model.Bind2

    }

    @Test
    public void testBinding(){
        Bind b = new Bind();
        Bind2 b2 = new Bind2();

        b.setDescription("description");
        b2.setName("name binding2");

        Assert.assertTrue(b.save());
        Assert.assertTrue(b2.save());

        Bind bind = new Bind();
        admin.obtain(bind, "description = 'description'");
        Assert.assertEquals("description", bind.getDescription());
        Bind2 bind2 = new Bind2();
        admin.obtain(bind2, "name = 'name binding2'");
        Assert.assertEquals("name binding2", bind2.getName());
    }
View Full Code Here

Examples of quickdb.date200912.model.Bind2

        this.testReferenceNull();
    }

    public void testBinding(){
        Bind b = new Bind();
        Bind2 b2 = new Bind2();

        b.setDescription("description");
        b2.setName("name binding2");

        System.out.println(b.save());
        System.out.println(b2.save());

        Bind bind = new Bind();
        admin.obtain(bind, "description = 'description'");
        System.out.println("description".equalsIgnoreCase(bind.getDescription()));
        Bind2 bind2 = new Bind2();
        admin.obtain(bind2, "name = 'name binding2'");
        System.out.println("name binding2".equalsIgnoreCase(bind2.getName()));
    }
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.