2.10.2.1.a:

SQL> select c_id from c_customer where c_credit = 'BC' and rownum=1;

      C_ID
----------
	 8

2.10.2.1.c: Output with debug level 4 running web client:

OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.setEntityContext(OrderCmpEJB.java:466): found SequenceSesHome interface
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.setEntityContext(OrderCmpEJB.java:474): found CustomerEntHome interface
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.setEntityContext(OrderCmpEJB.java:482): found LargeOrderSesHome interface
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.setEntityContext(OrderCmpEJB.java:489): found ItemEntHome interface
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.setEntityContext(OrderCmpEJB.java:497): found OrderLineEntHome interfaceOrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.ejbCreate(OrderCmpEJB.java:100): ejbCreate 
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.ejbCreate(OrderCmpEJB.java:108): Atomicity Test (1,2,3): Order Id: 693251
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.ejbCreate(OrderCmpEJB.java:128): Atomicity Test 3: OrderLineId: 1
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.getPriceWithDiscount(OrderCmpEJB.java:519): getPriceWithDiscount 
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.getPercentDiscount(OrderCmpEJB.java:590): getPercentDiscount
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.findCustomer(OrderCmpEJB.java:539): findCustomer
OrderCmpEJB_PersistenceManager25 at org.spec.jappserver.orders.orderent.ejb.OrderCmpEJB.checkCustomerCredit(OrderCmpEJB.java:567): checkCustomerCredit 

Order ID is 693251. Web client reports and insufficient credit exception.

2.10.2.1.d: Web client retrieving order ID 693251 reports:

Nested Exception:
javax.ejb.EJBException
	at org.spec.jappserver.orders.orderses.ejb.OrderSesEJB.getOrderStatus(OrderSesEJB.java:202)
	at OrderSes_StatelessSessionBeanWrapper1.getOrderStatus(OrderSes_StatelessSessionBeanWrapper1.java:687)
	at org.spec.jappserver.webbeans.OrderSesBean.getOrderStatus(OrderSesBean.java:287)

2.10.2.1.e:

SQL> select * from O_orders where o_id = 693251;

no rows selected

SQL> select * from O_orderline where ol_o_id = 693521;

no rows selected
