Package quickdb.model

Examples of quickdb.model.PruebaChild


        ArrayList results = admin.obtainAll(Prueba.class, "name like 'obtainAll%'");
        System.out.println((results.size() >= 3));
    }

    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);
        System.out.println(value);

        PruebaChild pr = new PruebaChild();
        value = admin.obtainWhere(pr, "name='prueba herencia annotation'");
        System.out.println(value);

        System.out.println(333 == pr.getNumber());
    }
View Full Code Here

TOP

Related Classes of 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.