Package cat.quickdb.model

Examples of cat.quickdb.model.PruebaChild


        Assert.assertTrue((results.size() >= 3));
    }

    @Test
    public void testInheritanceWithAnnotation(){
        PruebaChild p = new PruebaChild();
        p.setName("prueba herencia annotation");
        p.setNameParent("nombre padre annotation");
        p.setNumber(333);
        boolean value = admin.save(p);
        Assert.assertTrue(value);

        PruebaChild pr = new PruebaChild();
        value = admin.obtainWhere(pr, "name='prueba herencia annotation'");
        Assert.assertTrue(value);

        Assert.assertEquals(333, pr.getNumber());
    }
View Full Code Here

TOP

Related Classes of cat.quickdb.model.PruebaChild

Copyright © 2018 www.massapicom. 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.