Package org.crsh.command.base.entities

Examples of org.crsh.command.base.entities.Bar


  public void testSelect() throws Exception {

    EntityManagerFactory emf = Persistence.createEntityManagerFactory("testPU");
    EntityManager em = emf.createEntityManager();
    em.getTransaction().begin();
    em.persist(new Bar());
    em.persist(new Bar());
    em.getTransaction().commit();

    em.getTransaction().begin();
    em.persist(new Foo("foo", Calendar.getInstance()));
    Foo foo = new Foo("bar", Calendar.getInstance());
View Full Code Here

TOP

Related Classes of org.crsh.command.base.entities.Bar

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.