Sorry, it's kinda long, but I seperated each step that I took.
###############
#Inserting 1 row into a clean table
###############
14:07:16,755 DEBUG SessionImpl:528 - opened session
14:07:16,771 DEBUG JDBCTransaction:37 - begin
14:07:16,771 DEBUG DriverManagerConnectionProvider:78 - total checked-out connections: 0
14:07:16,771 DEBUG DriverManagerConnectionProvider:84 - using pooled JDBC connection, pool size: 0
14:07:16,786 DEBUG JDBCTransaction:41 - current autocommit status:false
14:07:16,802 DEBUG SessionImpl:786 - saving [ercot.model.event.impl.GenericEvent#<null>]
14:07:16,802 DEBUG EntityPersister:491 - Inserting entity: ercot.model.event.impl.GenericEvent (native id)
14:07:16,802 DEBUG BatcherImpl:192 - about to open: 0 open PreparedStatements, 0 open ResultSets
14:07:16,802 DEBUG SQL:223 - insert into event (message, date, type) values (?, ?, 1)
Hibernate: insert into event (message, date, type) values (?, ?, 1)
14:07:16,802 DEBUG BatcherImpl:227 - preparing statement
14:07:16,833 DEBUG EntityPersister:389 - Dehydrating entity: [ercot.model.event.impl.GenericEvent#<null>]
14:07:16,865 DEBUG BatcherImpl:199 - done closing: 0 open PreparedStatements, 0 open ResultSets
14:07:16,865 DEBUG BatcherImpl:240 - closing statement
14:07:16,865 DEBUG BatcherImpl:192 - about to open: 0 open PreparedStatements, 0 open ResultSets
14:07:16,865 DEBUG SQL:223 - SELECT LAST_INSERT_ID()
Hibernate: SELECT LAST_INSERT_ID()
14:07:16,865 DEBUG BatcherImpl:227 - preparing statement
14:07:16,865 DEBUG EntityPersister:528 - Natively generated identity: 55
14:07:16,865 DEBUG BatcherImpl:199 - done closing: 0 open PreparedStatements, 0 open ResultSets
14:07:16,880 DEBUG BatcherImpl:240 - closing statement
14:07:16,896 DEBUG JDBCTransaction:59 - commit
14:07:16,896 DEBUG SessionImpl:2193 - flushing session
14:07:16,911 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:07:16,911 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:07:16,927 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:07:16,927 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
14:07:16,927 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:07:16,943 DEBUG Printer:75 - listing entities:
14:07:16,943 DEBUG Printer:82 - ercot.model.event.impl.GenericEvent{message=First Message, date=02 March 2004 14:07:16, id=55}
14:07:16,943 DEBUG SessionImpl:2258 - executing flush
14:07:16,943 DEBUG SessionImpl:2708 - post flush
14:07:16,989 DEBUG SessionImpl:558 - transaction completion
#########
#Viewing page one of all rows
#########
14:07:49,416 DEBUG SessionImpl:528 - opened session
14:07:49,432 DEBUG SessionImpl:1460 - find: select count(obj) from ercot.model.event.impl.GenericEvent as obj
14:07:49,479 DEBUG QueryTranslator:147 - compiling query
14:07:49,557 DEBUG SessionImpl:2193 - flushing session
14:07:49,557 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:07:49,573 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:07:49,573 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:07:49,573 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
14:07:49,573 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:07:49,573 DEBUG SessionImpl:1745 - Dont need to execute flush
14:07:49,573 DEBUG QueryTranslator:199 - HQL: select count(obj) from ercot.model.event.impl.GenericEvent as obj
14:07:49,588 DEBUG QueryTranslator:200 - SQL: select count(genericeve0_.id) as x0_0_ from event genericeve0_ where genericeve0_.type=1
14:07:49,588 DEBUG BatcherImpl:192 - about to open: 0 open PreparedStatements, 0 open ResultSets
14:07:49,588 DEBUG DriverManagerConnectionProvider:78 - total checked-out connections: 1
14:07:49,588 DEBUG DriverManagerConnectionProvider:94 - opening new JDBC connection
14:07:49,619 DEBUG DriverManagerConnectionProvider:100 - created connection to: jdbc:mysql://localhost/ercot-event, Isolation Level: 4
14:07:49,619 DEBUG SQL:223 - select count(genericeve0_.id) as x0_0_ from event genericeve0_ where genericeve0_.type=1
Hibernate: select count(genericeve0_.id) as x0_0_ from event genericeve0_ where genericeve0_.type=1
14:07:49,619 DEBUG BatcherImpl:227 - preparing statement
14:07:49,619 DEBUG Loader:196 - processing result set
14:07:49,619 DEBUG Loader:404 - result row:
14:07:49,635 DEBUG Loader:225 - done processing result set (1 rows)
14:07:49,635 DEBUG BatcherImpl:199 - done closing: 0 open PreparedStatements, 0 open ResultSets
14:07:49,635 DEBUG BatcherImpl:240 - closing statement
14:07:49,635 DEBUG SessionImpl:3000 - initializing non-lazy collections
14:07:49,744 DEBUG SessionImpl:3431 - find by criteria: [net.sf.hibernate.impl.CriteriaImpl$CriterionEntry@1f7dbd8]
14:07:49,760 DEBUG SessionImpl:2193 - flushing session
14:07:49,760 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:07:49,776 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:07:49,776 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:07:49,776 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
14:07:49,776 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:07:49,776 DEBUG SessionImpl:1745 - Dont need to execute flush
14:07:49,791 DEBUG BatcherImpl:192 - about to open: 0 open PreparedStatements, 0 open ResultSets
14:07:49,791 DEBUG SQL:223 - select this.id as id0_, this.type as type0_, this.message as message0_, this.date as date0_ from event this where (1=1) limit ?
Hibernate: select this.id as id0_, this.type as type0_, this.message as message0_, this.date as date0_ from event this where (1=1) limit ?
14:07:49,791 DEBUG BatcherImpl:227 - preparing statement
14:07:49,807 DEBUG Loader:196 - processing result set
14:07:49,807 DEBUG Loader:404 - result row: 55
14:07:49,807 DEBUG Loader:535 - Initializing object from ResultSet: 55
14:07:49,807 DEBUG Loader:604 - Hydrating entity: ercot.model.event.impl.GenericEvent#55
14:07:49,838 DEBUG Loader:225 - done processing result set (1 rows)
14:07:49,838 DEBUG BatcherImpl:199 - done closing: 0 open PreparedStatements, 0 open ResultSets
14:07:49,838 DEBUG BatcherImpl:240 - closing statement
14:07:49,838 DEBUG Loader:238 - total objects hydrated: 1
14:07:49,869 DEBUG SessionImpl:2129 - resolving associations for [ercot.model.event.impl.GenericEvent#55]
14:07:49,869 DEBUG SessionImpl:2153 - done materializing entity [ercot.model.event.impl.GenericEvent#55]
14:07:49,869 DEBUG SessionImpl:3000 - initializing non-lazy collections
14:07:49,869 DEBUG SessionImpl:2193 - flushing session
14:07:49,869 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:07:49,885 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:07:49,885 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:07:49,885 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
14:07:49,885 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:07:49,885 DEBUG Printer:75 - listing entities:
14:07:49,901 DEBUG Printer:82 - ercot.model.event.impl.GenericEvent{message=First Message, date=02 March 2004 14:07:16, id=55}
14:07:49,901 DEBUG SessionImpl:2258 - executing flush
14:07:49,901 DEBUG SessionImpl:2708 - post flush
14:07:49,901 DEBUG SessionImpl:3187 - disconnecting session
14:07:49,916 DEBUG DriverManagerConnectionProvider:114 - returning connection to pool, pool size: 1
14:07:49,916 DEBUG SessionImpl:558 - transaction completion
###
#This was the sql that was run to insert an extra row outside of hibernate
###
insert into `event` (type, message, date) VALUES (1, 'External Message' , '2004-03-02 00:00:00')
###
# Displaying page 1 again will only display the first row
###
14:10:28,068 DEBUG SessionImpl:528 - opened session
14:10:28,068 DEBUG SessionImpl:1460 - find: select count(obj) from ercot.model.event.impl.GenericEvent as obj
14:10:28,068 DEBUG SessionImpl:2193 - flushing session
14:10:28,068 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:10:28,068 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:10:28,068 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:10:28,083 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
14:10:28,083 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:10:28,083 DEBUG SessionImpl:1745 - Dont need to execute flush
14:10:28,083 DEBUG QueryTranslator:199 - HQL: select count(obj) from ercot.model.event.impl.GenericEvent as obj
14:10:28,083 DEBUG QueryTranslator:200 - SQL: select count(genericeve0_.id) as x0_0_ from event genericeve0_ where genericeve0_.type=1
14:10:28,083 DEBUG BatcherImpl:192 - about to open: 0 open PreparedStatements, 0 open ResultSets
14:10:28,083 DEBUG DriverManagerConnectionProvider:78 - total checked-out connections: 1
14:10:28,083 DEBUG DriverManagerConnectionProvider:84 - using pooled JDBC connection, pool size: 0
14:10:28,099 DEBUG SQL:223 - select count(genericeve0_.id) as x0_0_ from event genericeve0_ where genericeve0_.type=1
Hibernate: select count(genericeve0_.id) as x0_0_ from event genericeve0_ where genericeve0_.type=1
14:10:28,099 DEBUG BatcherImpl:227 - preparing statement
14:10:28,099 DEBUG Loader:196 - processing result set
14:10:28,099 DEBUG Loader:404 - result row:
14:10:28,099 DEBUG Loader:225 - done processing result set (1 rows)
14:10:28,099 DEBUG BatcherImpl:199 - done closing: 0 open PreparedStatements, 0 open ResultSets
14:10:28,099 DEBUG BatcherImpl:240 - closing statement
14:10:28,115 DEBUG SessionImpl:3000 - initializing non-lazy collections
14:10:28,115 DEBUG SessionImpl:3431 - find by criteria: [net.sf.hibernate.impl.CriteriaImpl$CriterionEntry@e64795]
14:10:28,115 DEBUG SessionImpl:2193 - flushing session
14:10:28,115 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:10:28,115 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:10:28,115 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:10:28,130 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
14:10:28,130 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:10:28,130 DEBUG SessionImpl:1745 - Dont need to execute flush
14:10:28,130 DEBUG BatcherImpl:192 - about to open: 0 open PreparedStatements, 0 open ResultSets
14:10:28,130 DEBUG SQL:223 - select this.id as id0_, this.type as type0_, this.message as message0_, this.date as date0_ from event this where (1=1) limit ?
Hibernate: select this.id as id0_, this.type as type0_, this.message as message0_, this.date as date0_ from event this where (1=1) limit ?
14:10:28,130 DEBUG BatcherImpl:227 - preparing statement
14:10:28,130 DEBUG Loader:196 - processing result set
14:10:28,130 DEBUG Loader:404 - result row: 55
14:10:28,146 DEBUG Loader:535 - Initializing object from ResultSet: 55
14:10:28,146 DEBUG Loader:604 - Hydrating entity: ercot.model.event.impl.GenericEvent#55
14:10:28,146 DEBUG Loader:225 - done processing result set (1 rows)
14:10:28,146 DEBUG BatcherImpl:199 - done closing: 0 open PreparedStatements, 0 open ResultSets
14:10:28,146 DEBUG BatcherImpl:240 - closing statement
14:10:28,146 DEBUG Loader:238 - total objects hydrated: 1
14:10:28,146 DEBUG SessionImpl:2129 - resolving associations for [ercot.model.event.impl.GenericEvent#55]
14:10:28,161 DEBUG SessionImpl:2153 - done materializing entity [ercot.model.event.impl.GenericEvent#55]
14:10:28,177 DEBUG SessionImpl:3000 - initializing non-lazy collections
14:10:28,177 DEBUG SessionImpl:2193 - flushing session
14:10:28,177 DEBUG SessionImpl:2321 - Flushing entities and processing referenced collections
14:10:28,177 DEBUG SessionImpl:2664 - Processing unreferenced collections
14:10:28,177 DEBUG SessionImpl:2678 - Scheduling collection removes/(re)creates/updates
14:10:28,177 DEBUG SessionImpl:2217 - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
14:10:28,177 DEBUG SessionImpl:2222 - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
14:10:28,193 DEBUG Printer:75 - listing entities:
14:10:28,193 DEBUG Printer:82 - ercot.model.event.impl.GenericEvent{message=First Message, date=02 March 2004 14:07:16, id=55}
14:10:28,193 DEBUG SessionImpl:2258 - executing flush
14:10:28,193 DEBUG SessionImpl:2708 - post flush
14:10:28,193 DEBUG SessionImpl:3187 - disconnecting session
14:10:28,193 DEBUG DriverManagerConnectionProvider:114 - returning connection to pool, pool size: 1
14:10:28,193 DEBUG SessionImpl:558 - transaction completion
|