new Item( "Testitem", "Test Description", user,
initialPrice, reservePrice,
startDate.getTime(), endDate.getTime() );
// Don't forget to take the return value, this is basically a merge()
newItem = itemDAO.makePersistent(newItem);
// End the unit of work
getUserTransaction().commit();
em.close();