To improve the readability, I modified the class names and the id column in the questions as:
ShipperBookingOrderVO -> OrderVO
ShipperBookingOrderVO.bookingId -> OrderVO.id
ShipperBookingOrderDetailVO -> OrderDetailVO
ShipperBookingOrderDetailVO.bookingDetailId -> OrderDetailVO.id
ShipperBookingOrderDetailVO.bookingId -> OrderDetailVO.orderId
Code:
...
148587 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - saving [sls.valueobject.ShipperBookingOrderDetailVO#sls.valueobject.ShipperBookingOrderDetailVO@e0ba9bda]
148598 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - flushing session
148598 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Flushing entities and processing referenced collections
148599 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Collection found: [sls.valueobject.ShipperBookingOrderVO.shipperBookingOrderDetails#sls.valueobject.ShipperBookingOrderVO@656cfea9], was: [sls.valueobject.ShipperBookingOrderVO.shipperBookingOrderDetails#sls.valueobject.ShipperBookingOrderVO@656cfea9]
148600 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Collection found: [sls.valueobject.ShipperBookingOrderVO.truckingOrder#sls.valueobject.ShipperBookingOrderVO@656cfea9], was: [sls.valueobject.ShipperBookingOrderVO.truckingOrder#sls.valueobject.ShipperBookingOrderVO@656cfea9]
148600 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Collection found: [sls.valueobject.ShipperBookingOrderVO.customDoc#sls.valueobject.ShipperBookingOrderVO@656cfea9], was: [sls.valueobject.ShipperBookingOrderVO.customDoc#sls.valueobject.ShipperBookingOrderVO@656cfea9]
148601 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.persister.AbstractEntityPersister - air.core.common.valueobject.SeqTableVO.seqNumber is dirty
148601 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Updating entity: [air.core.common.valueobject.SeqTableVO#air.core.common.valueobject.SeqTableVO@722d3f5]
148606 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Processing unreferenced collections
148606 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Scheduling collection removes/(re)creates/updates
148606 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Flushed: 1 insertions, 1 updates, 0 deletions to 3 objects
148606 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Flushed: 0 (re)creations, 0 updates, 0 removals to 3 collections
148607 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - executing flush
148607 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.persister.EntityPersister - Inserting entity: sls.valueobject.ShipperBookingOrderDetailVO#sls.valueobject.ShipperBookingOrderDetailVO@e0ba9bda
148608 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.BatcherImpl - 1 open PreparedStatements
148608 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionFactoryImpl - prepared statement get: insert into shipper_booking_order_detail (sbod_status, sbod_pkgs, sbod_ctns, sbod_pieces, sbod_unit_price, sbod_qty, sbod_lbs, sbod_kgs, sbod_net_lbs, sbod_net_kgs, sbod_cbf, sbod_cbm, sbod_length, sbod_width, sbod_depth, sbod_description, sbod_marks, sbod_commodity_code, sbod_commodity_description, sbod_ref_type1, sbod_ref_type2, sbod_ref_type3, sbod_ref_type4, sbod_ref_code1, sbod_ref_code2, sbod_ref_code3, sbod_ref_code4, sbod_cargo_in_date, sbod_seq, sbod_loading_seq, sbod_booking_id, sbod_booking_detail_id, sbod_office) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
148608 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionFactoryImpl - preparing statement
148609 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.persister.EntityPersister - Dehydrating entity: sls.valueobject.ShipperBookingOrderDetailVO#sls.valueobject.ShipperBookingOrderDetailVO@e0ba9bda
148609 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'SHSE040100046' to parameter: 1
148610 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'O' to parameter: 2
148610 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding '5' to parameter: 3
148610 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.IntegerType - binding '6' to parameter: 4
148611 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.IntegerType - binding '7' to parameter: 5
148611 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '15.0' to parameter: 6
148612 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.IntegerType - binding '16' to parameter: 7
148612 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '2.0' to parameter: 8
148612 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '1.0' to parameter: 9
148613 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '4.0' to parameter: 10
148613 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '3.0' to parameter: 11
148613 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '9.0' to parameter: 12
148614 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '8.0' to parameter: 13
148614 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '10.0' to parameter: 14
148614 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '11.0' to parameter: 15
148614 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DoubleType - binding '12.0' to parameter: 16
148615 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'd1' to parameter: 17
148615 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'm1' to parameter: 18
148615 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'c1' to parameter: 19
148616 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'cd1' to parameter: 20
148616 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'PO Number' to parameter: 21
148616 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'PO Number' to parameter: 22
148616 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'Style Number' to parameter: 23
148617 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'Style Number' to parameter: 24
148617 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'r1' to parameter: 25
148617 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'r2' to parameter: 26
148617 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'r3' to parameter: 27
148618 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'r4' to parameter: 28
148618 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.DateType - binding '01 January 2003' to parameter: 29
148619 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.IntegerType - binding '748' to parameter: 30
148620 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.IntegerType - binding '0' to parameter: 31
148620 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'SHSE040100046' to parameter: 32
148621 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'SHA' to parameter: 33
148621 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.type.StringType - binding 'OE2004000000748' to parameter: 34
148622 [16-Jan-2004 10:22:06] ERROR air.agent.oceanexport.action.ShipperBookingOrderDetailAction - java.lang.ArrayIndexOutOfBoundsException: 33
148623 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.transaction.JDBCTransaction - commit
148623 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - flushing session
148623 [16-Jan-2004 10:22:06] DEBUG net.sf.hibernate.impl.SessionImpl - Flushing entities and processing referenced collections
...
Error at 148622. Thx in advance.