Here's a snippet of the log from where it starts....it looks like it hydrates one entity but has 6 rows in the result set....am I missing something?
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.event.def.DefaultLoadEventListener DEBUG loading entity: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.event.def.DefaultLoadEventListener DEBUG attempting to resolve: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.event.def.DefaultLoadEventListener DEBUG object not resolved in any cache: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.persister.entity.BasicEntityPersister DEBUG Materializing entity: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG loading entity: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to open PreparedStatement (open PreparedStatements: 1, globally: 1)
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.SQL DEBUG select evcostcent0_.CC_NUM as CC1_0_, evcostcent0_.CC_TYPE_CODE as CC2_84_0_, evcostcent0_.CC_NAME as CC3_84_0_, evcostcent0_.ACTIVE_DATE as ACTIVE4_84_0_, evcostcent0_.WELL_STAT_CODE as WELL5_84_0_, evcostcent0_.PRIMARY_PROD_CODE as PRIMARY6_84_0_, evcostcent0_.TERM_DATE as TERM7_84_0_ from EV_COST_CENTRES evcostcent0_ where evcostcent0_.CC_NUM=?
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG preparing statement
2005-03-03 15:44:27,094 [AWT-EventQueue-1] org.hibernate.type.StringType DEBUG binding '1002051' to parameter: 1
2005-03-03 15:44:27,297 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to open ResultSet (open ResultSets: 1, globally: 1)
2005-03-03 15:44:27,297 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG processing result set
2005-03-03 15:44:27,297 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG result set row: 0
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG result row: EntityKey[com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG Initializing object from ResultSet: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.persister.entity.BasicEntityPersister DEBUG Hydrating entity: [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.type.StringType DEBUG returning 'DWL' as column: CC2_84_0_
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.type.StringType DEBUG returning '200B068C093P1000 BRASSEY' as column: CC3_84_0_
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.type.TimestampType DEBUG returning '2004-03-29 00:00:00' as column: ACTIVE4_84_0_
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.type.StringType DEBUG returning null as column: WELL5_84_0_
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.type.StringType DEBUG returning null as column: PRIMARY6_84_0_
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.type.TimestampType DEBUG returning null as column: TERM7_84_0_
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG done processing result set (1 rows)
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to close ResultSet (open ResultSets: 2, globally: 2)
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to close PreparedStatement (open PreparedStatements: 2, globally: 2)
2005-03-03 15:44:27,313 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG closing statement
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG total objects hydrated: 1
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.engine.TwoPhaseLoad DEBUG resolving associations for [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.engine.CollectionLoadContext DEBUG creating collection wrapper:[com.entero.enterovision.hibernate.EvCostCentre.ownershipAgreementLinksCcNumCode#1002051]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.engine.TwoPhaseLoad DEBUG done materializing entity [com.entero.enterovision.hibernate.EvCostCentre#1002051]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG done entity load
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.event.def.DefaultLoadEventListener DEBUG loading entity: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.event.def.DefaultLoadEventListener DEBUG attempting to resolve: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.event.def.DefaultLoadEventListener DEBUG object not resolved in any cache: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.persister.entity.BasicEntityPersister DEBUG Materializing entity: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,329 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG loading entity: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,344 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to open PreparedStatement (open PreparedStatements: 1, globally: 1)
2005-03-03 15:44:27,344 [AWT-EventQueue-1] org.hibernate.SQL DEBUG select evdoideck0_.ID as ID0_, evdoideck0_.TERM_DATE as TERM2_169_0_ from EV_DOI_DECKS evdoideck0_ where evdoideck0_.ID=?
2005-03-03 15:44:27,344 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG preparing statement
2005-03-03 15:44:27,344 [AWT-EventQueue-1] org.hibernate.type.LongType DEBUG binding '88823' to parameter: 1
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to open ResultSet (open ResultSets: 1, globally: 1)
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG processing result set
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG result set row: 0
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG result row: EntityKey[com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG Initializing object from ResultSet: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.persister.entity.BasicEntityPersister DEBUG Hydrating entity: [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.type.TimestampType DEBUG returning null as column: TERM2_169_0_
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG done processing result set (1 rows)
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to close ResultSet (open ResultSets: 2, globally: 2)
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to close PreparedStatement (open PreparedStatements: 2, globally: 2)
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG closing statement
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG total objects hydrated: 1
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.engine.TwoPhaseLoad DEBUG resolving associations for [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.engine.CollectionLoadContext DEBUG creating collection wrapper:[com.entero.enterovision.hibernate.EvDoiDeck.doiDeckPartnersById#88823]
2005-03-03 15:44:27,391 [AWT-EventQueue-1] org.hibernate.engine.CollectionLoadContext DEBUG creating collection wrapper:[com.entero.enterovision.hibernate.EvDoiDeck.ownershipAgreementLinksById#88823]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.engine.TwoPhaseLoad DEBUG done materializing entity [com.entero.enterovision.hibernate.EvDoiDeck#88823]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG done entity load
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG result row: EntityKey[com.entero.enterovision.hibernate.EvOwnershipAgreementLink#component[costCentre,evDoiDeck,productionRevenueCode]{evDoiDeck=com.entero.enterovision.hibernate.EvDoiDeck#88823, productionRevenueCode=REV, costCentre=com.entero.enterovision.hibernate.EvCostCentre#1002051}]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG Initializing object from ResultSet: [com.entero.enterovision.hibernate.EvOwnershipAgreementLink#component[costCentre,evDoiDeck,productionRevenueCode]{evDoiDeck=com.entero.enterovision.hibernate.EvDoiDeck#88823, productionRevenueCode=REV, costCentre=com.entero.enterovision.hibernate.EvCostCentre#1002051}]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.persister.entity.BasicEntityPersister DEBUG Hydrating entity: [com.entero.enterovision.hibernate.EvOwnershipAgreementLink#component[costCentre,evDoiDeck,productionRevenueCode]{evDoiDeck=com.entero.enterovision.hibernate.EvDoiDeck#88823, productionRevenueCode=REV, costCentre=com.entero.enterovision.hibernate.EvCostCentre#1002051}]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.type.TimestampType DEBUG returning '2004-11-01 00:00:00' as column: EFFECTIVE4_66_0_
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.type.TimestampType DEBUG returning null as column: EXPIRY5_66_0_
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.type.TimestampType DEBUG returning null as column: TERM6_66_0_
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG done processing result set (6 rows)
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to close ResultSet (open ResultSets: 1, globally: 1)
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG closing statement
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.loader.Loader DEBUG total objects hydrated: 1
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.engine.TwoPhaseLoad DEBUG resolving associations for [com.entero.enterovision.hibernate.EvOwnershipAgreementLink#component[costCentre,evDoiDeck,productionRevenueCode]{evDoiDeck=com.entero.enterovision.hibernate.EvDoiDeck#88823, productionRevenueCode=REV, costCentre=com.entero.enterovision.hibernate.EvCostCentre#1002051}]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.engine.TwoPhaseLoad DEBUG done materializing entity [com.entero.enterovision.hibernate.EvOwnershipAgreementLink#component[costCentre,evDoiDeck,productionRevenueCode]{evDoiDeck=com.entero.enterovision.hibernate.EvDoiDeck#88823, productionRevenueCode=REV, costCentre=com.entero.enterovision.hibernate.EvCostCentre#1002051}]
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.engine.PersistenceContext DEBUG initializing non-lazy collections
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.transform.DistinctRootEntityResultTransformer DEBUG transformed: 6 rows to: 2 distinct results
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.impl.SessionImpl DEBUG closing session
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.impl.SessionImpl DEBUG closing session
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.jdbc.AbstractBatcher DEBUG closing JDBC connection (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.connection.DriverManagerConnectionProvider DEBUG returning connection to pool, pool size: 1
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.jdbc.JDBCContext DEBUG after transaction completion
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.impl.SessionImpl DEBUG after transaction completion
2005-03-03 15:44:27,407 [AWT-EventQueue-1] org.hibernate.impl.SessionImpl DEBUG after transaction completion
2005-03-03 15:44:27,922 [Finalizer] org.hibernate.jdbc.JDBCContext DEBUG running Session.finalize()
2005-03-03 15:44:27,922 [Finalizer] org.hibernate.jdbc.JDBCContext DEBUG running Session.finalize()
|