Package quickdb.model

Examples of quickdb.model.Prueba


        value = admin.delete(per);
        System.out.println(value);
    }

    public void testCreateTableSimple() {
        Prueba prueba = new Prueba();
        prueba.setName("test");
        boolean value = admin.save(prueba);

        System.out.println(value);
    }
View Full Code Here


    public void testCreateTableComposed() {
        SuperPrueba sup = new SuperPrueba();
        sup.setName("superPrueba");

        Prueba prueba = new Prueba();
        prueba.setName("test Prueba Composed");
        sup.setPrueba(prueba);
        boolean value = admin.save(sup);

        System.out.println(value);
    }
View Full Code Here

        System.out.println(5 == ((Page)b.getPage().get(1)).getPageNumber());
    }

    public void testObtainAll(){
        ArrayList array = new ArrayList();
        array.add(new Prueba("obtainAll1"));
        array.add(new Prueba("obtainAll2"));
        array.add(new Prueba("obtainAll3"));
        admin.saveAll(array);

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

TOP

Related Classes of quickdb.model.Prueba

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.