
SQL> select * from c_customer where c_id < 15 and c_credit = 'BC';

      C_ID C_FIRST          C_LAST           C_STREET1                          
---------- ---------------- ---------------- --------------------               
C_STREET2            C_CITY               C_ C_COUNTRY  C_ZIP                   
-------------------- -------------------- -- ---------- ---------               
C_PHONE          C_CONTACT                 C_SINCE    C_BALANCE C_              
---------------- ------------------------- --------- ---------- --              
C_CREDIT_LIMIT C_YTD_PAYMENT                                                    
-------------- -------------                                                    
        10 0tfriaEyQHt      fRercTd1A1j5k2yK BvXJmx6RMe                         
uFbvkk3gzVv9k        CkWpwpqEwY0DhN3      Sk RrUBLPO    779211111               
0101554370403    plaixrifR7YZAkL           06-JUL-01      14065 BC              
             0        159642                                                    
 
We chose customer id 10

Appserver output
----------------

03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.setEntityContext(Ljavax.ejb.EntityContext;)V(OrderCmp20EJB.java:472): found SequenceSesHome interface
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.setEntityContext(Ljavax.ejb.EntityContext;)V(OrderCmp20EJB.java:480): found CustomerEntHome interface
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.setEntityContext(Ljavax.ejb.EntityContext;)V(OrderCmp20EJB.java:488): found LargeOrderSesHome interface
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.setEntityContext(Ljavax.ejb.EntityContext;)V(OrderCmp20EJB.java:493): found ItemEntHomeLocal interface
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.setEntityContext(Ljavax.ejb.EntityContext;)V(OrderCmp20EJB.java:498): found OrderLineEntHomeLocal interface
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.ejbCreate(I[Lorg.spec.jappserver.orders.helper.ItemQuantity;)Ljava.lang.Integer;(OrderCmp20EJB.java:107): ejbCreate 
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.ejbCreate(I[Lorg.spec.jappserver.orders.helper.ItemQuantity;)Ljava.lang.Integer;(OrderCmp20EJB.java:115): Atomicity Test (1,2,3): Order Id: 61001
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.ejbPostCreate(I[Lorg.spec.jappserver.orders.helper.ItemQuantity;)V(OrderCmp20EJB.java:149): Atomicity Test 3: OrderLineId: 1
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.getPriceWithDiscount(Ljava.lang.String;)D(OrderCmp20EJB.java:520): getPriceWithDiscount 
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.getPercentDiscount(D)D(OrderCmp20EJB.java:592): getPercentDiscount
03/08/19 14:04:30 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.findCustomer()V(OrderCmp20EJB.java:540): findCustomer
03/08/19 14:04:31 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.checkCustomerCredit()V(OrderCmp20EJB.java:568): checkCustomerCredit 
03/08/19 14:04:31 OrderCmp20EJB_PersistenceManager16 at org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.ejbPassivate()V(OrderCmp20EJB.java:397): ejbPassivate 

SQL> select * from o_orders where o_id = 61001;

no rows selected

SQL>  select * from o_orderline where ol_o_id = 61001;

no rows selected

SQL> spool off
