SQL> select c_id from c_customer where c_credit = 'GC' and c_id < 25;

      C_ID
----------
         1
         2
         3
         4
         5
         6
         8
         9
        10
        12
        13

      C_ID
----------
        14
        15
        16
        17
        18
        20
        21
        22
        23
        24

21 rows selected.

We select customer ID 8 as the customer with a good credit.

Using the Web interface, we execute an order with this customer ID and item 00001MITEM00001.
The Web transaction completes.

The WebLogic output file displays:

org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: found SequenceSesHome interface
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: found CustomerEntHome interface
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: found LargeOrderSesHome interface
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: found ItemEntHomeLocal interface
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: found OrderLineEntHomeLocal interface
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: ejbCreate 
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: Atomicity Test (1,2,3): Order Id: 78001
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: Atomicity Test 3: OrderLineId: 1
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: getPriceWithDiscount 
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: getPercentDiscount
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: findCustomer
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: checkCustomerCredit 
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: checkForLargeOrders 
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: ejbStore 
org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB_lhcgd9__WebLogic_CMP_RDBMS <<no stack trace available>>: ejbStore 


The Order Id is 78001.


SQL> select * from o_orders where o_id = 78001;

      O_ID     O_C_ID   O_OL_CNT O_DISCOUNT    O_TOTAL   O_STATUS O_ENTRY_D
---------- ---------- ---------- ---------- ---------- ---------- ---------
O_SHIP_DA
---------
     78001          8          1         .3       6.64          1 03-FEB-03

SQL> 

SQL> select * from o_orderline where ol_o_id = 78001;

     OL_ID    OL_O_ID OL_I_ID             OL_QTY  OL_STATUS OL_SHIP_D
---------- ---------- --------------- ---------- ---------- ---------
         1      78001 00001MITEM00001          1

SQL> 
