The log above was not quite right as I hadn't opened a new session so some items were coming from the cache. Here a correct log.
[code]
13:49:01,564 DEBUG HibernateUtil:179 - Opening new Session for this thread.
Hibernate: select this.templateSetId as template1_0_, this.version as version0_, this.templateSetKey as template3_0_, this.description as descript4_0_, this.lastUpdated as lastUpda5_0_, this.active as active0_ from dbo.utbRoutingTemplateSets this where this.templateSetKey=?
13:49:01,580 DEBUG StringType:46 - binding 'SET1' to parameter: 1
13:49:01,596 DEBUG LongType:68 - returning '34' as column: template1_0_
13:49:01,596 DEBUG IntegerType:68 - returning '0' as column: version0_
13:49:01,596 DEBUG StringType:68 - returning 'SET1' as column: template3_0_
13:49:01,596 DEBUG StringType:68 - returning 'description for Set1' as column: descript4_0_
13:49:01,596 DEBUG TimestampType:68 - returning '2005-03-22 13:49:01' as column: lastUpda5_0_
13:49:01,611 DEBUG BooleanType:68 - returning 'true' as column: active0_
Hibernate: select templates0_.templateSetId as template1___, templates0_.urlTemplate as urlTempl3___, templates0_.action as action__, templates0_.description as descript5___, templates0_.cmdType as cmdType__ from dbo.utbRoutingTemplates templates0_ where templates0_.templateSetId=?
13:49:01,611 DEBUG LongType:46 - binding '34' to parameter: 1
13:49:01,611 DEBUG LongType:68 - returning '34' as column: template1___
13:49:01,611 DEBUG StringType:68 - returning 'http://desc.test.com/link.jsp?SET=set1&TYPE=PCLINK&CMD=DESC&CODE=[CODE]' as column: urlTempl3___
13:49:01,611 DEBUG StringType:68 - returning 'PROXY' as column: action__
13:49:01,611 DEBUG StringType:68 - returning 'Description for DESC' as column: descript5___
13:49:01,611 DEBUG StringType:68 - returning 'DESC' as column: cmdType__
13:49:01,611 DEBUG LongType:68 - returning '34' as column: template1___
13:49:01,611 DEBUG StringType:68 - returning 'http://get.test.com/link.jsp?SET=set1&TYPE=PCLINK&CMD=GET&CODE=[CODE]' as column: urlTempl3___
13:49:01,611 DEBUG StringType:68 - returning 'REDIRECT' as column: action__
13:49:01,627 DEBUG StringType:64 - returning null as column: descript5___
13:49:01,627 DEBUG StringType:68 - returning 'GET' as column: cmdType__
13:49:01,627 DEBUG HibernateUtil:253 - Committing database transaction of this thread.
Hibernate: update dbo.utbRoutingTemplateSets set version=?, templateSetKey=?, description=?, lastUpdated=?, active=? where templateSetId=? and version=?
13:49:01,643 DEBUG IntegerType:46 - binding '1' to parameter: 1
13:49:01,658 DEBUG StringType:46 - binding 'SET1' to parameter: 2
13:49:01,658 DEBUG StringType:46 - binding 'description for Set1' to parameter: 3
13:49:01,658 DEBUG TimestampType:46 - binding '2005-03-22 13:49:01' to parameter: 4
13:49:01,658 DEBUG BooleanType:46 - binding 'true' to parameter: 5
13:49:01,658 DEBUG LongType:46 - binding '34' to parameter: 6
13:49:01,658 DEBUG IntegerType:46 - binding '0' to parameter: 7
Hibernate: update dbo.utbRoutingTemplates set urlTemplate=?, action=?, description=? where templateSetId=? and cmdType=?
13:49:01,658 DEBUG LongType:46 - binding '34' to parameter: 4
13:49:01,658 DEBUG StringType:46 - binding 'http://get.test.com/link.jsp?SET=set1&TYPE=PCLINK&CMD=GET&CODE=[code]' to parameter: 1
13:49:01,674 DEBUG StringType:46 - binding 'PROXY' to parameter: 2
13:49:01,674 DEBUG StringType:41 - binding null to parameter: 3
13:49:01,674 DEBUG StringType:46 - binding 'GET' to parameter: 5
Hibernate: delete from dbo.utbRoutingTemplates where templateSetId=? and cmdType=?
13:49:01,674 DEBUG LongType:41 - binding null to parameter: 1
13:49:01,674 DEBUG StringType:41 - binding null to parameter: 2
13:49:01,690 ERROR SessionImpl:2400 - Could not synchronize database state with session
13:49:01,705 DEBUG HibernateUtil:276 - Tyring to rollback database transaction of this thread.
13:49:01,705 DEBUG HibernateUtil:212 - Closing Session of this thread.
[/code]
|