Package org.apache.cayenne.testdo.testmap

Examples of org.apache.cayenne.testdo.testmap.PrimitivesTestEntity


public class PrimitiveAttributesTest extends CayenneCase {

    public void testCommit() {
        ObjectContext context = createDataContext();

        PrimitivesTestEntity e = context
                .newObject(PrimitivesTestEntity.class);
        e.setBooleanColumn(true);
        e.setIntColumn(88);
        context.commitChanges();
    }
View Full Code Here


    protected void setUpAfterInjection() throws Exception {
        dbHelper.deleteAll("PRIMITIVES_TEST");
    }

    public void testCommit() {
        PrimitivesTestEntity e = context.newObject(PrimitivesTestEntity.class);
        e.setBooleanColumn(true);
        e.setIntColumn(88);
        context.commitChanges();
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.testdo.testmap.PrimitivesTestEntity

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.