Examples of UnenhancedSubtype


Examples of org.apache.openjpa.enhance.UnenhancedSubtype

    public void testNewUnenhancedSMsRegisteredGlobally() {
        OpenJPAEntityManager em = emf.createEntityManager();
        OpenJPAEntityManager em2 = null;
        try {
            em.getTransaction().begin();
            UnenhancedSubtype newe = (UnenhancedSubtype) newManagedInstance();
            em.persist(newe);
            em2 = deserializeEM(serialize(em));

            for (Object o : em2.getManagedObjects()) {
                assertFalse(o instanceof PersistenceCapable);
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.