Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.1.2
Mapping documents:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping default-lazy="false">
<class name="net.canal.admin.persistence.Template" table="TEMPLATES">
<id name="id" type="long" column="TEMPLATE_ID" unsaved-value="0">
<generator class="identity"/>
</id>
<!-- base class attributes -->
<property name="name" type="string" not-null="true" column="NAME"/>
<property name="description" type="string" column="DESCR"/>
<property name="isDeleted" type="boolean" column="ISDELETED"/>
<property name="createTime" type="calendar" column="CREATE_TIME"/>
<property name="modifyTime" type="calendar" column="MODIFY_TIME"/>
<property name="folderDefinition" type="binary" length="65535"/>
<many-to-one name="category" not-null="true" column="TEMPLATECAT_ID" class="net.canal.admin.persistence.TemplateCategory"/>
<many-to-one name="org" class="net.canal.admin.persistence.Org" column="ORG_ID" cascade="none" not-null="true"/>
<property name="shared" type="boolean" column="SHARED"/>
<set name="attributeGroups" table="TEMPLATE_ATTRIBUTEGROUP" cascade="all-delete-orphan" lazy="false" order-by="SEQUENCE asc">
<key column="TEMPLATE_ID"/>
<one-to-many class="net.canal.admin.persistence.TemplateAttributeGroup"/>
</set>
</class>
</hibernate-mapping>
Full stack trace of any exception that occurs:
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - commit
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - automatically flushing session
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - flushing session
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - processing flush-time cascades
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - processing cascade ACTION_SAVE_UPDATE for: net.canal.admin.persistence.Template
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - cascade ACTION_SAVE_UPDATE for collection: net.canal.admin.persistence.Template.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done cascade ACTION_SAVE_UPDATE for collection: net.canal.admin.persistence.Template.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - deleting orphans for collection: net.canal.admin.persistence.Template.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done deleting orphans for collection: net.canal.admin.persistence.Template.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done processing cascade ACTION_SAVE_UPDATE for: net.canal.admin.persistence.Template
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - processing cascade ACTION_SAVE_UPDATE for: net.canal.admin.persistence.Org
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - cascade ACTION_SAVE_UPDATE for collection: net.canal.admin.persistence.Org.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done cascade ACTION_SAVE_UPDATE for collection: net.canal.admin.persistence.Org.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - deleting orphans for collection: net.canal.admin.persistence.Org.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done deleting orphans for collection: net.canal.admin.persistence.Org.attributeGroups
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - cascade ACTION_SAVE_UPDATE for collection: net.canal.admin.persistence.Org.applications
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done cascade ACTION_SAVE_UPDATE for collection: net.canal.admin.persistence.Org.applications
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - deleting orphans for collection: net.canal.admin.persistence.Org.applications
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done deleting orphans for collection: net.canal.admin.persistence.Org.applications
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Cascade - done processing cascade ACTION_SAVE_UPDATE for: net.canal.admin.persistence.Org
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - dirty checking collections
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Flushing entities and processing referenced collections
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - net.canal.admin.persistence.Template.description is dirty
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.DefaultFlushEntityEventListener - Updating entity: [net.canal.admin.persistence.Template#5]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Collections - Collection found: [net.canal.admin.persistence.Template.attributeGroups#5], was: [net.canal.admin.persistence.Template.attributeGroups#5] (initialized)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Collections - Collection found: [net.canal.admin.persistence.Org.attributeGroups#1], was: [net.canal.admin.persistence.Org.attributeGroups#1] (uninitialized)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.Collections - Collection found: [net.canal.admin.persistence.Org.applications#1], was: [net.canal.admin.persistence.Org.applications#1] (uninitialized)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Processing unreferenced collections
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Scheduling collection removes/(re)creates/updates
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Flushed: 0 insertions, 1 updates, 0 deletions to 3 objects
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - Flushed: 0 (re)creations, 0 updates, 0 removals to 3 collections
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.pretty.Printer - listing entities:
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.pretty.Printer - net.canal.admin.persistence.Org{attributeGroups=<uninitialized>, description=null, createTime=null, applications=<uninitialized>, modifyTime=null, isDeleted=null, name=Canal.net, id=1}
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.pretty.Printer - net.canal.admin.persistence.Template{attributeGroups=[], org=net.canal.admin.persistence.Org#1, category=net.canal.admin.persistence.TemplateCategory#5, folderDefinition=null, description=, shared=false, createTime=null, modifyTime=null, isDeleted=null, name=Root Permission, id=5}
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.pretty.Printer - net.canal.admin.persistence.TemplateCategory{description=null, createTime=null, modifyTime=null, isDeleted=null, name=Permission, id=5}
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - executing flush
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Updating entity: [net.canal.admin.persistence.Template#5]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.SQL - update TEMPLATES set NAME=?, DESCR=?, ISDELETED=?, CREATE_TIME=?, MODIFY_TIME=?, folderDefinition=?, TEMPLATECAT_ID=?, ORG_ID=?, SHARED=? where TEMPLATE_ID=?
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - preparing statement
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Dehydrating entity: [net.canal.admin.persistence.Template#5]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - binding 'Root Permission' to parameter: 1
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - binding '' to parameter: 2
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - binding null to parameter: 3
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - binding null to parameter: 4
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - binding null to parameter: 5
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BinaryType - binding null to parameter: 6
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - binding '5' to parameter: 7
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - binding '1' to parameter: 8
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - binding 'false' to parameter: 9
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - binding '5' to parameter: 10
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - Adding to batch
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - Executing batch size: 1
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - closing statement
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.event.def.AbstractFlushingEventListener - post flush
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.JDBCContext - before transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - before transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - re-enabling autocommit
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - committed JDBC Connection
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.JDBCContext - after transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - after transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - setting flush mode to: NEVER
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - begin
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - current autocommit status: true
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - disabling autocommit
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.JDBCContext - after transaction begin
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.query.QueryPlanCache - located HQL query plan in cache (from TemplateCategory templateCategory order by templateCategory.id asc)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.query.QueryPlanCache - located HQL query plan in cache (from TemplateCategory templateCategory order by templateCategory.id asc)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.query.HQLQueryPlan - find: from TemplateCategory templateCategory order by templateCategory.id asc
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.QueryParameters - named parameters: {}
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.hql.classic.QueryTranslatorImpl - HQL: from net.canal.admin.persistence.TemplateCategory templateCategory order by templateCategory.id asc
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.hql.classic.QueryTranslatorImpl - SQL: select templateca0_.TEMPLATECAT_ID as TEMPLATE1_25_, templateca0_.NAME as NAME25_, templateca0_.DESCR as DESCR25_, templateca0_.ISDELETED as ISDELETED25_, templateca0_.CREATE_TIME as CREATE5_25_, templateca0_.MODIFY_TIME as MODIFY6_25_ from TEMPLATE_CATEGORIES templateca0_ order by templateca0_.TEMPLATECAT_ID asc
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.SQL - select templateca0_.TEMPLATECAT_ID as TEMPLATE1_25_, templateca0_.NAME as NAME25_, templateca0_.DESCR as DESCR25_, templateca0_.ISDELETED as ISDELETED25_, templateca0_.CREATE_TIME as CREATE5_25_, templateca0_.MODIFY_TIME as MODIFY6_25_ from TEMPLATE_CATEGORIES templateca0_ order by templateca0_.TEMPLATECAT_ID asc
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - preparing statement
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - about to open ResultSet (open ResultSets: 0, globally: 0)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - processing result set
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result set row: 0
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - returning '1' as column: TEMPLATE1_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result row: EntityKey[net.canal.admin.persistence.TemplateCategory#1]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - Initializing object from ResultSet: [net.canal.admin.persistence.TemplateCategory#1]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Hydrating entity: [net.canal.admin.persistence.TemplateCategory#1]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning 'Organization' as column: NAME25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning null as column: DESCR25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - returning null as column: ISDELETED25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: CREATE5_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: MODIFY6_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result set row: 1
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - returning '2' as column: TEMPLATE1_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result row: EntityKey[net.canal.admin.persistence.TemplateCategory#2]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - Initializing object from ResultSet: [net.canal.admin.persistence.TemplateCategory#2]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Hydrating entity: [net.canal.admin.persistence.TemplateCategory#2]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning 'Department' as column: NAME25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning null as column: DESCR25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - returning null as column: ISDELETED25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: CREATE5_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: MODIFY6_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result set row: 2
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - returning '3' as column: TEMPLATE1_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result row: EntityKey[net.canal.admin.persistence.TemplateCategory#3]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - Initializing object from ResultSet: [net.canal.admin.persistence.TemplateCategory#3]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Hydrating entity: [net.canal.admin.persistence.TemplateCategory#3]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning 'Program' as column: NAME25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning null as column: DESCR25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - returning null as column: ISDELETED25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: CREATE5_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: MODIFY6_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result set row: 3
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - returning '4' as column: TEMPLATE1_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result row: EntityKey[net.canal.admin.persistence.TemplateCategory#4]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - Initializing object from ResultSet: [net.canal.admin.persistence.TemplateCategory#4]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Hydrating entity: [net.canal.admin.persistence.TemplateCategory#4]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning 'User' as column: NAME25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning null as column: DESCR25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - returning null as column: ISDELETED25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: CREATE5_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: MODIFY6_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result set row: 4
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - returning '5' as column: TEMPLATE1_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result row: EntityKey[net.canal.admin.persistence.TemplateCategory#5]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result set row: 5
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.LongType - returning '6' as column: TEMPLATE1_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - result row: EntityKey[net.canal.admin.persistence.TemplateCategory#6]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - Initializing object from ResultSet: [net.canal.admin.persistence.TemplateCategory#6]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Hydrating entity: [net.canal.admin.persistence.TemplateCategory#6]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning 'Form' as column: NAME25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.StringType - returning null as column: DESCR25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.BooleanType - returning null as column: ISDELETED25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: CREATE5_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.type.CalendarType - returning null as column: MODIFY6_25_
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - done processing result set (6 rows)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - about to close ResultSet (open ResultSets: 1, globally: 1)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.AbstractBatcher - closing statement
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.loader.Loader - total objects hydrated: 5
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [net.canal.admin.persistence.TemplateCategory#1]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - done materializing entity [net.canal.admin.persistence.TemplateCategory#1]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [net.canal.admin.persistence.TemplateCategory#2]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - done materializing entity [net.canal.admin.persistence.TemplateCategory#2]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [net.canal.admin.persistence.TemplateCategory#3]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - done materializing entity [net.canal.admin.persistence.TemplateCategory#3]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [net.canal.admin.persistence.TemplateCategory#4]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - done materializing entity [net.canal.admin.persistence.TemplateCategory#4]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [net.canal.admin.persistence.TemplateCategory#6]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.TwoPhaseLoad - done materializing entity [net.canal.admin.persistence.TemplateCategory#6]
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.engine.StatefulPersistenceContext - initializing non-lazy collections
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - commit
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.JDBCContext - before transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - before transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - re-enabling autocommit
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.transaction.JDBCTransaction - committed JDBC Connection
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.JDBCContext - after transaction completion
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
24.04.06 09:36:27 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - after transaction completion
24.04.06 09:36:28 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - closing session
24.04.06 09:36:28 [http-8080-Processor25] DEBUG org.hibernate.jdbc.ConnectionManager - performing cleanup
24.04.06 09:36:28 [http-8080-Processor25] DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
24.04.06 09:36:28 [http-8080-Processor25] DEBUG org.hibernate.jdbc.JDBCContext - after transaction completion
24.04.06 09:36:28 [http-8080-Processor25] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
24.04.06 09:36:28 [http-8080-Processor25] DEBUG org.hibernate.impl.SessionImpl - after transaction completion
Name and version of the database you are using:
mySQL 5.0
~~~~~~~~~~~~~~~~~~
The problem is after updating one Template, another Template in the table is somehow touched (the Org ID becomes a very big negative number - it is 0x800000000000001).
Totally lost, have no idea how this was happened !
thanks in advance for looking at this problem !
lixin