Examples of MapFieldPersistenceEntity


Examples of org.apache.cayenne.jpa.itest.ch2.entity.MapFieldPersistenceEntity

        getEntityManager().persist(o1);
        getEntityManager().getTransaction().commit();
    }

    public void testMapProperties() {
        MapFieldPersistenceEntity o1 = new MapFieldPersistenceEntity();
        o1.setMap(Collections.singletonMap(new Object(), new HelperEntity4()));

        getEntityManager().persist(o1);
        getEntityManager().getTransaction().commit();
    }
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.