You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by kelmmatt <ke...@us.ibm.com> on 2008/03/01 00:19:46 UTC

Re: OpenJPA incompatibility with WebSphere container managed transaction

Wendy,

I was able to get the sample to run successfully using OpenJPA 1.0.2.  There
is one application problem which needs to be fixed before it will work.  You
need to comment out the first em.close() in the openOrder method of
OrderProcessorBean.java:

			// replaced this code with batch update below just to test feature,
			// but setting Customer Order below should have same affect.
			customer.setCurrentOrder(newOrder);
			System.out.println("Returning from Processor");
			//em.close();
			return orderId;
		} finally {
			if (em != null) {
				em.close();
			}
		}
	}
-- 
View this message in context: http://www.nabble.com/OpenJPA-incompatibility-with-WebSphere-container-managed-transaction-tp15315097p15769011.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.