Below is the log output. It seems that my object is being treated as a Detached Object, but it should be considered in the Transient state from what I've read. I created the object myself in the UI Tier.
Here is the log output:
2006-09-21 10:58:54,203 DEBUG com.fxall.admin.dao.entity.hibernate.EntityDAOHibernate - saveSenderCompID::begin
2006-09-21 10:58:54,218 DEBUG org.hibernate.engine.IdentifierValue - id unsaved-value: null
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractSaveEventListener - detached instance of: com.fxall.admin.domain.entity.SenderCompID
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener - updating detached instance
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener - updating [com.fxall.admin.domain.entity.SenderCompID#frank_mp_cust-ord-1]
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener - updating [com.fxall.admin.domain.entity.SenderCompID#frank_mp_cust-ord-1]
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - flushing session
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - processing flush-time cascades
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - dirty checking collections
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Flushing entities and processing referenced collections
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.DefaultFlushEntityEventListener - Updating entity: [com.fxall.admin.domain.entity.Customer#161]
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.DefaultFlushEntityEventListener - Updating entity: [com.fxall.admin.domain.entity.SenderCompID#frank_mp_cust-ord-1]
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Processing unreferenced collections
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Scheduling collection removes/(re)creates/updates
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Flushed: 0 insertions, 2 updates, 0 deletions to 2 objects
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
2006-09-21 10:58:54,218 DEBUG org.hibernate.pretty.Printer - listing entities:
2006-09-21 10:58:54,218 DEBUG org.hibernate.pretty.Printer - com.fxall.admin.domain.entity.Customer{modifiedBy=admin.cic, matchInternalOrder=null, modifiedOn=2006-09-21 10:58:56, privateMP=false, cancelOrdersOnDisconnect=null, enableMPClient=false, createdBy=null, providerName=null, userGroupName=null, participantID=161, markAllTradesPTA=null, commissionUSDPerMillion=2.2, applyPriceImprovement=null, commissionMinimumRate=1.1, userGroupOwner=null, customerName=frank_mp_cust, matchStreamOrder=null, allowedLiquidityManagement=false, contingentOrderSupplier=true, allowedContingentOrderProtection=false, participantName=frank_mp_cust, createdOn=null}
2006-09-21 10:58:54,218 DEBUG org.hibernate.pretty.Printer - com.fxall.admin.domain.entity.SenderCompID{deleted=false, password=745021f1d81c9a2b25a27f060bf72e7bbf0021ef, senderCompID=frank_mp_cust-ord-1, modifiedBy=null, modifiedOn=null, userGroupID=null, ownerID=161, createdBy=admin.cic, deletedDate=null, createdOn=2006-09-21 10:58:56}
2006-09-21 10:58:54,218 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - executing flush
2006-09-21 10:58:54,218 DEBUG org.hibernate.jdbc.ConnectionManager - registering flush begin
2006-09-21 10:58:54,218 DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Updating entity: [com.fxall.admin.domain.entity.Customer#161]
2006-09-21 10:58:54,218 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement(open PreparedStatements: 0, globally: 0)
2006-09-21 10:58:54,218 DEBUG org.hibernate.SQL - update PARTICIPANTS set PARTICIPANT_NAME=?, CUSTOMER_NAME=?, PROVIDER_NAME=?, USER_GROUP_NAME=?, UG_OWNER=?, PRIVATE_MP_FLAG=?, CONT_ORD_SUPPLIER_FLAG=?, ALLOW_CON_ORD_PROTECT_FLAG=?, ALLOW_LIQUIDITY_MGMT_FLAG=?, MARK_ALL_TRADES_PTA_FLAG=?, MATCH_STREAM_ORD_FLAG=?, MATCH_INTERNAL_ORD_FLAG=?, APPLY_PRICE_IMPROVEMENT_FLAG=?, CANCEL_ORDERS_ON_DISCO_FLAG=?, ENABLE_MP_CLIENT_FLAG=?, COMM_USD_PER_MILLION=?, COMM_MINIMUM_RATE=?, CREATED_BY=?, CREATED_DATE=?, MODIFIED_BY=?, MODIFIED_DATE=? where PARTICIPANT_ID=?
2006-09-21 10:58:54,218 DEBUG org.hibernate.jdbc.AbstractBatcher - preparing statement
2006-09-21 10:58:54,218 DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Dehydrating entity: [com.fxall.admin.domain.entity.Customer#161]
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.StringType - binding 'frank_mp_cust' to parameter: 1
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.StringType - binding 'frank_mp_cust' to parameter: 2
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.StringType - binding null to parameter: 3
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.StringType - binding null to parameter: 4
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.LongType - binding null to parameter: 5
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding 'false' to parameter: 6
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding 'true' to parameter: 7
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding 'false' to parameter: 8
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding 'false' to parameter: 9
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding null to parameter: 10
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding null to parameter: 11
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding null to parameter: 12
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding null to parameter: 13
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding null to parameter: 14
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.YesNoType - binding 'false' to parameter: 15
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.BigDecimalType - binding '2.2' to parameter: 16
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.BigDecimalType - binding '1.1' to parameter: 17
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.StringType - binding null to parameter: 18
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.TimestampType - binding null to parameter: 19
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.StringType - binding 'admin.cic' to parameter: 20
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.TimestampType - binding '2006-09-21 10:58:56' to parameter: 21
2006-09-21 10:58:54,218 DEBUG org.hibernate.type.LongType - binding '161' to parameter: 22
2006-09-21 10:58:54,218 DEBUG org.hibernate.jdbc.AbstractBatcher - Adding to batch
2006-09-21 10:58:54,218 DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Updating entity: [com.fxall.admin.domain.entity.SenderCompID#frank_mp_cust-ord-1]
2006-09-21 10:58:54,218 DEBUG org.hibernate.jdbc.AbstractBatcher - Executing batch size: 1
2006-09-21 10:58:54,421 DEBUG org.hibernate.jdbc.AbstractBatcher - success of batch update unknown: 0
2006-09-21 10:58:54,421 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2006-09-21 10:58:54,421 DEBUG org.hibernate.jdbc.AbstractBatcher - closing statement
2006-09-21 10:58:54,437 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement(open PreparedStatements: 0, globally: 0)
2006-09-21 10:58:54,437 DEBUG org.hibernate.SQL - update SENDERCOMPIDS set PASSWORD=?, OWNER_PARTICIPANT_ID=?, UG_PARTICIPANT_ID=?, DELETED_FLAG=?, DELETED_FLAG_CHANGE_DATE=?, CREATED_BY=?, CREATED_DATE=?, MODIFIED_BY=?, MODIFIED_DATE=? where SENDERCOMPID=?
2006-09-21 10:58:54,437 DEBUG org.hibernate.jdbc.AbstractBatcher - preparing statement
2006-09-21 10:58:54,437 DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Dehydrating entity: [com.fxall.admin.domain.entity.SenderCompID#frank_mp_cust-ord-1]
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.StringType - binding '745021f1d81c9a2b25a27f060bf72e7bbf0021ef' to parameter: 1
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.LongType - binding '161' to parameter: 2
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.LongType - binding null to parameter: 3
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.YesNoType - binding 'false' to parameter: 4
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.TimestampType - binding null to parameter: 5
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.StringType - binding 'admin.cic' to parameter: 6
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.TimestampType - binding '2006-09-21 10:58:56' to parameter: 7
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.StringType - binding null to parameter: 8
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.TimestampType - binding null to parameter: 9
2006-09-21 10:58:54,437 DEBUG org.hibernate.type.StringType - binding 'frank_mp_cust-ord-1' to parameter: 10
2006-09-21 10:58:54,437 DEBUG org.hibernate.jdbc.AbstractBatcher - Adding to batch
2006-09-21 10:58:54,437 DEBUG org.hibernate.jdbc.AbstractBatcher - Executing batch size: 1
2006-09-21 10:58:54,515 DEBUG org.hibernate.jdbc.AbstractBatcher - success of batch update unknown: 0
2006-09-21 10:58:54,515 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2006-09-21 10:58:54,515 DEBUG org.hibernate.jdbc.AbstractBatcher - closing statement
2006-09-21 10:58:54,546 DEBUG org.hibernate.jdbc.ConnectionManager - registering flush end
2006-09-21 10:58:54,546 DEBUG org.hibernate.event.def.AbstractFlushingEventListener - post flush
2006-09-21 10:58:54,546 DEBUG org.hibernate.impl.SessionImpl - closing session
2006-09-21 10:58:54,546 DEBUG org.hibernate.jdbc.ConnectionManager - performing cleanup
2006-09-21 10:58:54,546 DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
2006-09-21 10:58:54,671 DEBUG org.hibernate.jdbc.JDBCContext - after transaction completion
|