Methods Summary |
---|
public void | checkout()
|
public long | createCustomer()
customer = new Customer();
customer.setName("William");
em.persist(customer);
return customer.getId();
|
public Customer | find(long id)
return em.find(Customer.class, id);
|
public void | never()
customer.setName("Bob");
|
public void | update()
customer.setName("Bill");
|
public void | update2()
customer.setName("Billy");
|
public void | update3()
stateless.update(customer);
|