Package org.apache.openjpa.persistence.inheritance.entity

Examples of org.apache.openjpa.persistence.inheritance.entity.BaseCallback


     * be queried to determine the access type. 
     */
    public void testCallbackEntity() {
       
        EntityManager em = emf.createEntityManager();
        BaseCallback bc = new BaseCallback();
        bc.setId(new Random().nextInt());
        bc.setName("BaseCallback");
       
        // Persist the entity
        em.getTransaction().begin();
        em.persist(bc);
        em.getTransaction().commit();  
View Full Code Here

TOP

Related Classes of org.apache.openjpa.persistence.inheritance.entity.BaseCallback

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.