Question

hibernate insertion

Asked by: radhika1306


while inserting a object i get the following error
obj1 is my parent object and obj2 my child object.
that refernces obj1
------------------------------------------------------------------------------------------------------------

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] processing cascades for: com.teradata.crm.communication.hibernateobject.obj1

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.communication.hibernateobject.obj1.obj2s

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to saveOrUpdate()

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] version unsaved-value strategy NULL

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.impl.SessionImpl] saveOrUpdate() unsaved instance

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.impl.SessionImpl] generated identifier: com.teradata.crm.communication.hibernateobject.obj2Id@1856fc1[id=16600,versionId=1,ruleId=1]

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.impl.SessionImpl] saving [com.teradata.crm.communication.hibernateobject.obj2#com.teradata.crm.communication.hibernateobject.obj2Id@1856fc1[id=16600,versionId=1,ruleId=1]]

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] processing cascades for: com.teradata.crm.communication.hibernateobject.obj2

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] done processing cascades for: com.teradata.crm.communication.hibernateobject.obj2

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Versioning] Seeding: 2005-10-10 11:37:08.869

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] version unsaved-value strategy NULL

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] processing cascades for: com.teradata.crm.communication.hibernateobject.obj2

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] done processing cascades for: com.teradata.crm.communication.hibernateobject.obj2

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] done processing cascades for: com.teradata.crm.communication.hibernateobject.obj1

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.impl.SessionImpl] flushing session

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] processing cascades for: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smPickBestQualifications

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smSelectionVariables

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smClipAttributes

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smSegmentPlanRelationships

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smSegmentRelationshipLimits

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.customCrossStructureLinks

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] done processing cascades for: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] processing cascades for: com.teradata.crm.communication.hibernateobject.obj1

2005-10-10 11:37:08,869 DEBUG [net.sf.hibernate.engine.Cascades] cascading to saveOrUpdate()

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.impl.SessionImpl] saveOrUpdate() persistent instance

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.engine.Cascades] cascading to collection: com.teradata.crm.communication.hibernateobject.obj1.obj2s

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.engine.Cascades] cascading to saveOrUpdate()

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.impl.SessionImpl] saveOrUpdate() persistent instance

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.engine.Cascades] done processing cascades for: com.teradata.crm.communication.hibernateobject.obj1

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.engine.Cascades] processing cascades for: com.teradata.crm.communication.hibernateobject.obj2

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.engine.Cascades] done processing cascades for: com.teradata.crm.communication.hibernateobject.obj2

2005-10-10 11:37:08,884 DEBUG [net.sf.hibernate.impl.SessionImpl] Flushing entities and processing referenced collections

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smPickBestQualifications#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.allPickBestQualifications#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smSelectionVariables#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smClipAttributes#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smSegmentPlanRelationships#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.smSegmentRelationshipLimits#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan.customCrossStructureLinks#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Updating entity: [com.teradata.crm.communication.hibernateobject.obj1#com.teradata.crm.communication.hibernateobject.obj1Id@1768e37[id: =16600,versionId: =1]]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.engine.Versioning] Incrementing: 2005-10-10 11:37:08.838 to 2005-10-10 11:37:08.916

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Collection found: [com.teradata.crm.communication.hibernateobject.obj1.obj2s#com.teradata.crm.communication.hibernateobject.obj1Id@1768e37[id: =16600,versionId: =1]], was: [<unreferenced>]

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Processing unreferenced collections

2005-10-10 11:37:08,916 DEBUG [net.sf.hibernate.impl.SessionImpl] Scheduling collection removes/(re)creates/updates

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.SessionImpl] Flushed: 3 insertions, 1 updates, 0 deletions to 3 objects

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.SessionImpl] Flushed: 8 (re)creations, 0 updates, 0 removals to 8 collections

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.Printer] listing entities:

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.Printer] com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan{createdDate=10 October 2005 11:37:08, clipByRelationshipActive=false, smSelectionVariables=[], smSegmentStructure=null, lockedDefinitionActive=false, semanticElementId=4261, createdUser=tapdev, id=SmSegmentPlanId{versionId=1, id=51000}, controlPercentage=3.0, activatingUser=null, clipActive=false, local=true, clipRelationshipElementId=null, smSegmentRelationshipLimits=[], controlActive=false, sharedInd=null, name=51000_1, clipRelationshipLimitActive=null, divisionId=1, referenceTxt=null, statusCode=1, customCrossStructureLinks=[], smSegmentPlanRuns=null, smSegmentPlanRelationships=[], clipMethod=null, controlMethod=null, sourceVersionId=null, smClipAttributes=[], clipTargetPercentage=null, activationDate=null, sourceEntityId=null, controlMinimum=null, folderId=null, revisionDate=10 October 2005 11:37:08, dedupActive=false, allPickBestQualifications=[], description=null, clipTarget=null, smPickBestQualifications=[], clipRelationshipLimit=null, revisingUser=tapdev}

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.Printer] com.teradata.crm.communication.hibernateobject.obj2{revisionDate=10 October 2005 11:37:08, obj2Segments=null, description=null, obj2ChannelInstances=null, processingOrd=0, obj1=obj1#obj1Id{versionId=1, id=16600}, revisingUser=tapdev, name=Migration rule, limitedChannelInstanceInd=false, id=obj2Id{ruleId=1, versionId=1, id=16600}, cmChannelClass=null}

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.Printer] com.teradata.crm.communication.hibernateobject.obj1{createdDate=10 October 2005 11:37:08, smSegmentPlan=SmSegmentPlan#SmSegmentPlanId{versionId=1, id=51000}, sourceVersionId=null, ruleSetTypeCd=2, createdUser=CARMSTRONG, id=obj1Id{versionId=1, id=16600}, obj2s=[obj2#obj2Id{ruleId=1, versionId=1, id=16600}], activationDate=null, sourceEntityId=null, activatingUser=null, folderId=null, revisionDate=10 October 2005 11:37:08, local=true, description=Rule set based on channel 12D Mail, sharedInd=null, revisingUser=CARMSTRONG, name=Rule set for 12D Mail, divisionId=1, statusCode=1, referenceTxt=null}

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.SessionImpl] executing flush

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.persister.EntityPersister] Inserting entity: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]]

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.persister.EntityPersister] Version: 2005-10-10 11:37:08.681

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.SQL] insert into SM_SEGMENT_PLAN (UPDATE_DTTM, OWNER_DIVISION_ID, NAME, DESCRIPTION, SHARED_IND, STATUS_CD, LOCAL_COPY_IND, REFERENCE_TXT, FOLDER_ID, SEMANTIC_ELEMENT_ID, CONTROL_ACTIVE_IND, CONTROL_METHOD_CD, CONTROL_PERCENTAGE_NUM, CONTROL_MINIMUM_NUM, LOCKED_DEFINITION_IND, DEFAULT_DEDUPLICATE_IND, CLIP_ACTIVE_IND, CLIP_METHOD_CD, CLIP_TARGET_NUM, CLIP_TARGET_PCT, CLIP_BY_RELATIONSHIP_IND, CLIP_RELATIONSHIP_ELEMENT_ID, CLIP_RELATIONSHIP_LIMIT_IND, CLIP_RELATIONSHIP_LIMIT_NUM, SOURCE_ENTITY_ID, SOURCE_VERSION_ID, CREATE_USER, CREATE_DTTM, UPDATE_USER, ACTIVATE_USER, ACTIVATE_DTTM, SEGMENT_PLAN_STRUCTURE_ID, SEGMENT_PLAN_STRUCTURE_VER_ID, SEGMENT_PLAN_ID, SEGMENT_PLAN_VERSION_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.impl.BatcherImpl] preparing statement

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.persister.EntityPersister] Dehydrating entity: [com.teradata.crm.segmentation.hibernateobject.SmSegmentPlan#com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]]

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.TimestampType] binding '10 October 2005 11:37:08' to parameter: 1

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 2

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.StringType] binding '51000_1' to parameter: 3

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.StringType] binding null to parameter: 4

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.ByteType] binding null to parameter: 5

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.ShortType] binding '1' to parameter: 6

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding 'true' to parameter: 7

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.StringType] binding null to parameter: 8

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 9

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding '4261' to parameter: 10

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding 'false' to parameter: 11

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.ShortType] binding null to parameter: 12

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.DoubleType] binding '3.0' to parameter: 13

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 14

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding 'false' to parameter: 15

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding 'false' to parameter: 16

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding 'false' to parameter: 17

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.ShortType] binding null to parameter: 18

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 19

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.DoubleType] binding null to parameter: 20

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding 'false' to parameter: 21

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 22

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.BooleanType] binding null to parameter: 23

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 24

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 25

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 26

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.StringType] binding 'tapdev' to parameter: 27

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.TimestampType] binding '10 October 2005 11:37:08' to parameter: 28

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.StringType] binding 'tapdev' to parameter: 29

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.StringType] binding null to parameter: 30

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.TimestampType] binding null to parameter: 31

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 32

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 33

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding '51000' to parameter: 34

2005-10-10 11:37:08,931 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 35

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.cache.TransactionalCache] inserting: com.teradata.crm.segmentation.hibernateobject.SmSegmentPlanId@2f59b3[id: =51000,versionId: =1]

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.persister.EntityPersister] Inserting entity: [com.teradata.crm.communication.hibernateobject.obj1#com.teradata.crm.communication.hibernateobject.obj1Id@1768e37[id: =16600,versionId: =1]]

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.persister.EntityPersister] Version: 2005-10-10 11:37:08.838

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.impl.BatcherImpl] done closing: 0 open PreparedStatements, 0 open ResultSets

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.impl.BatcherImpl] closing statement

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.impl.BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.SQL] insert into CM_RULE_SET (UPDATE_DTTM, OWNER_DIVISION_ID, NAME, DESCRIPTION, STATUS_CD, LOCAL_COPY_IND, RULE_SET_TYPE_CD, REFERENCE_TXT, FOLDER_ID, SHARED_IND, SOURCE_ENTITY_ID, SOURCE_VERSION_ID, CREATE_USER, CREATE_DTTM, UPDATE_USER, ACTIVATE_USER, ACTIVATE_DTTM, SEGMENT_PLAN_ID, SEGMENT_PLAN_VERSION_ID, RULE_SET_ID, RULE_SET_VERSION_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.impl.BatcherImpl] preparing statement

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.persister.EntityPersister] Dehydrating entity: [com.teradata.crm.communication.hibernateobject.obj1#com.teradata.crm.communication.hibernateobject.obj1Id@1768e37[id: =16600,versionId: =1]]

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.TimestampType] binding '10 October 2005 11:37:08' to parameter: 1

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 2

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.StringType] binding 'Rule set for 12D Mail' to parameter: 3

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.StringType] binding 'Rule set based on channel 12D Mail' to parameter: 4

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.ShortType] binding '1' to parameter: 5

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.BooleanType] binding 'true' to parameter: 6

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.ShortType] binding '2' to parameter: 7

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.StringType] binding null to parameter: 8

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 9

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.ByteType] binding null to parameter: 10

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 11

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 12

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.StringType] binding 'CARMSTRONG' to parameter: 13

2005-10-10 11:37:09,025 DEBUG [net.sf.hibernate.type.TimestampType] binding '10 October 2005 11:37:08' to parameter: 14

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.StringType] binding 'CARMSTRONG' to parameter: 15

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.StringType] binding null to parameter: 16

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.TimestampType] binding null to parameter: 17

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.IntegerType] binding '51000' to parameter: 18

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 19

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.IntegerType] binding '16600' to parameter: 20

2005-10-10 11:37:09,041 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 21

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.cache.TransactionalCache] inserting: com.teradata.crm.communication.hibernateobject.obj1Id@1768e37[id: =16600,versionId: =1]

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.persister.EntityPersister] Inserting entity: [com.teradata.crm.communication.hibernateobject.obj2#com.teradata.crm.communication.hibernateobject.obj2Id@1856fc1[id=16600,versionId=1,ruleId=1]]

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.persister.EntityPersister] Version: 2005-10-10 11:37:08.869

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.impl.BatcherImpl] done closing: 0 open PreparedStatements, 0 open ResultSets

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.impl.BatcherImpl] closing statement

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.impl.BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.SQL] insert into CM_RULE (UPDATE_DTTM, NAME, DESCRIPTION, PROCESSING_ORD, LIMITED_CHANNEL_INSTANCE_IND, UPDATE_USER, CHANNEL_CLASS_ID, CHANNEL_CLASS_VERSION_ID, RULE_SET_ID, RULE_SET_VERSION_ID, RULE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.impl.BatcherImpl] preparing statement

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.persister.EntityPersister] Dehydrating entity: [com.teradata.crm.communication.hibernateobject.obj2#com.teradata.crm.communication.hibernateobject.obj2Id@1856fc1[id=16600,versionId=1,ruleId=1]]

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.TimestampType] binding '10 October 2005 11:37:08' to parameter: 1

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.StringType] binding 'Migration rule' to parameter: 2

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.StringType] binding null to parameter: 3

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.IntegerType] binding '0' to parameter: 4

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.BooleanType] binding 'false' to parameter: 5

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.StringType] binding 'tapdev' to parameter: 6

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 7

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.IntegerType] binding null to parameter: 8

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.IntegerType] binding '16600' to parameter: 9

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 10

2005-10-10 11:37:09,072 DEBUG [net.sf.hibernate.type.IntegerType] binding '1' to parameter: 11

2005-10-10 11:37:09,134 DEBUG [net.sf.hibernate.engine.Cascades] version unsaved-value strategy NULL

2005-10-10 11:37:09,134 ERROR [net.sf.hibernate.impl.SessionImpl] Could not synchronize database state with session

net.sf.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.teradata.crm.communication.hibernateobject.obj1

            at net.sf.hibernate.impl.SessionImpl.throwTransientObjectException(SessionImpl.java:2759)

            at net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2751)

            at net.sf.hibernate.type.EntityType.disassemble(EntityType.java:115)

            at net.sf.hibernate.impl.CacheEntry.disassemble(CacheEntry.java:36)

            at net.sf.hibernate.impl.CacheEntry.<init>(CacheEntry.java:27)

            at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:33)

            at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2407)

            at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2360)

            at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2229)

            at com.teradata.tap.system.persistence.ObjectHandler.hibernateAction(ObjectHandler.java:464)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:370)

            at com.teradata.tap.system.persistence.ObjectHandler.storeObject(ObjectHandler.java:120)

            at com.teradata.tap.system.persistence.PersistenceService.storeObject(PersistenceService.java:50)

            at com.teradata.tap.system.persistence.ejb.PersistenceManagerBean.storeObject(PersistenceManagerBean.java:138)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy200.storeObject(Unknown Source)

            at com.teradata.crm.ejb.CRMProviderBean.save(CRMProviderBean.java:154)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy256.save(Unknown Source)

            at com.teradata.crm.ejb.AbstractComponentBean.save(AbstractComponentBean.java:196)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy240.save(Unknown Source)

            at com.teradata.crm.communication.ejb.CommunicationFacadeBean.save(CommunicationFacadeBean.java:393)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

            at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

            at sun.rmi.transport.Transport$1.run(Transport.java:148)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

            at java.lang.Thread.run(Thread.java:534)

2005-10-10 11:37:09,291 ERROR [com.teradata.tap.system.persistence.ObjectHandler] PersistenceManager Exception

com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.tap.system.persistence.ExceptionUtil.exception(ExceptionUtil.java:44)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:373)

            at com.teradata.tap.system.persistence.ObjectHandler.storeObject(ObjectHandler.java:120)

            at com.teradata.tap.system.persistence.PersistenceService.storeObject(PersistenceService.java:50)

            at com.teradata.tap.system.persistence.ejb.PersistenceManagerBean.storeObject(PersistenceManagerBean.java:138)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy200.storeObject(Unknown Source)

            at com.teradata.crm.ejb.CRMProviderBean.save(CRMProviderBean.java:154)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy256.save(Unknown Source)

            at com.teradata.crm.ejb.AbstractComponentBean.save(AbstractComponentBean.java:196)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy240.save(Unknown Source)

            at com.teradata.crm.communication.ejb.CommunicationFacadeBean.save(CommunicationFacadeBean.java:393)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

            at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

            at sun.rmi.transport.Transport$1.run(Transport.java:148)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

            at java.lang.Thread.run(Thread.java:534)

Caused by: net.sf.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.teradata.crm.communication.hibernateobject.obj1

            at net.sf.hibernate.impl.SessionImpl.throwTransientObjectException(SessionImpl.java:2759)

            at net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2751)

            at net.sf.hibernate.type.EntityType.disassemble(EntityType.java:115)

            at net.sf.hibernate.impl.CacheEntry.disassemble(CacheEntry.java:36)

            at net.sf.hibernate.impl.CacheEntry.<init>(CacheEntry.java:27)

            at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:33)

            at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2407)

            at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2360)

            at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2229)

            at com.teradata.tap.system.persistence.ObjectHandler.hibernateAction(ObjectHandler.java:464)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:370)

            ... 92 more

2005-10-10 11:37:09,416 DEBUG [com.teradata.tap.system.persistence.SessionHandler] SessionHandler.closeAll()

2005-10-10 11:37:09,416 DEBUG [com.teradata.tap.system.persistence.SessionHandler] SessionHandler.closeAll - closing session:net.sf.hibernate.impl.SessionImpl@66817a

2005-10-10 11:37:09,416 DEBUG [net.sf.hibernate.impl.SessionImpl] closing session

2005-10-10 11:37:09,416 DEBUG [net.sf.hibernate.impl.SessionImpl] disconnecting session

2005-10-10 11:37:09,416 DEBUG [net.sf.hibernate.impl.SessionImpl] transaction completion

2005-10-10 11:37:09,416 DEBUG [com.teradata.tap.system.persistence.SessionHandler] SessionHandler.closeAll - closing connection returned by session.close(): null

2005-10-10 11:37:09,416 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.teradata.crm.domainelement.DomainElementInterface com.teradata.crm.businessinterface.BusinessInterface.save(com.teradata.tap.system.beansupport.ApplicationContext,java.lang.Object), causedBy:

com.teradata.crm.exceptions.CRMRuntimeException: com.teradata.tap.system.beansupport.TAPComponentException: com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.crm.ejb.AbstractComponentBean.save(AbstractComponentBean.java:199)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy240.save(Unknown Source)

            at com.teradata.crm.communication.ejb.CommunicationFacadeBean.save(CommunicationFacadeBean.java:393)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

            at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

            at sun.rmi.transport.Transport$1.run(Transport.java:148)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

            at java.lang.Thread.run(Thread.java:534)

Caused by: com.teradata.tap.system.beansupport.TAPComponentException: com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.crm.ejb.CRMProviderBean.createException(CRMProviderBean.java:522)

            at com.teradata.crm.ejb.CRMProviderBean.save(CRMProviderBean.java:157)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy256.save(Unknown Source)

            at com.teradata.crm.ejb.AbstractComponentBean.save(AbstractComponentBean.java:196)

            ... 51 more

Caused by: com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.tap.system.persistence.ExceptionUtil.exception(ExceptionUtil.java:44)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:373)

            at com.teradata.tap.system.persistence.ObjectHandler.storeObject(ObjectHandler.java:120)

            at com.teradata.tap.system.persistence.PersistenceService.storeObject(PersistenceService.java:50)

            at com.teradata.tap.system.persistence.ejb.PersistenceManagerBean.storeObject(PersistenceManagerBean.java:138)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy200.storeObject(Unknown Source)

            at com.teradata.crm.ejb.CRMProviderBean.save(CRMProviderBean.java:154)

            ... 70 more

Caused by: net.sf.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.teradata.crm.communication.hibernateobject.obj1

            at net.sf.hibernate.impl.SessionImpl.throwTransientObjectException(SessionImpl.java:2759)

            at net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2751)

            at net.sf.hibernate.type.EntityType.disassemble(EntityType.java:115)

            at net.sf.hibernate.impl.CacheEntry.disassemble(CacheEntry.java:36)

            at net.sf.hibernate.impl.CacheEntry.<init>(CacheEntry.java:27)

            at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:33)

            at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2407)

            at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2360)

            at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2229)

            at com.teradata.tap.system.persistence.ObjectHandler.hibernateAction(ObjectHandler.java:464)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:370)

            ... 92 more

2005-10-10 11:37:09,431 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException in method: public abstract java.util.List com.teradata.crm.communication.businessinterface.CommunicationFacadeBusinessInterfaceRemote.save(com.teradata.tap.system.beansupport.ApplicationContext,java.util.List) throws java.rmi.RemoteException, causedBy:

com.teradata.crm.exceptions.CRMRuntimeException: com.teradata.tap.system.beansupport.TAPComponentException: com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.crm.ejb.AbstractComponentBean.save(AbstractComponentBean.java:199)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy240.save(Unknown Source)

            at com.teradata.crm.communication.ejb.CommunicationFacadeBean.save(CommunicationFacadeBean.java:393)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

            at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

            at sun.rmi.transport.Transport$1.run(Transport.java:148)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

            at java.lang.Thread.run(Thread.java:534)

Caused by: com.teradata.tap.system.beansupport.TAPComponentException: com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.crm.ejb.CRMProviderBean.createException(CRMProviderBean.java:522)

            at com.teradata.crm.ejb.CRMProviderBean.save(CRMProviderBean.java:157)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy256.save(Unknown Source)

            at com.teradata.crm.ejb.AbstractComponentBean.save(AbstractComponentBean.java:196)

            ... 51 more

Caused by: com.teradata.tap.system.persistence.DataAccessException: ObjectHandler.handleObject(obj,action) failed

            at com.teradata.tap.system.persistence.ExceptionUtil.exception(ExceptionUtil.java:44)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:373)

            at com.teradata.tap.system.persistence.ObjectHandler.storeObject(ObjectHandler.java:120)

            at com.teradata.tap.system.persistence.PersistenceService.storeObject(PersistenceService.java:50)

            at com.teradata.tap.system.persistence.ejb.PersistenceManagerBean.storeObject(PersistenceManagerBean.java:138)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

            at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

            at org.jboss.ejb.Container.invoke(Container.java:700)

            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)

            at $Proxy200.storeObject(Unknown Source)

            at com.teradata.crm.ejb.CRMProviderBean.save(CRMProviderBean.java:154)

            ... 70 more

Caused by: net.sf.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: com.teradata.crm.communication.hibernateobject.obj1

            at net.sf.hibernate.impl.SessionImpl.throwTransientObjectException(SessionImpl.java:2759)

            at net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2751)

            at net.sf.hibernate.type.EntityType.disassemble(EntityType.java:115)

            at net.sf.hibernate.impl.CacheEntry.disassemble(CacheEntry.java:36)

            at net.sf.hibernate.impl.CacheEntry.<init>(CacheEntry.java:27)

            at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:33)

            at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2407)

            at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2360)

            at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2229)

            at com.teradata.tap.system.persistence.ObjectHandler.hibernateAction(ObjectHandler.java:464)

            at com.teradata.tap.system.persistence.ObjectHandler.handleObject(ObjectHandler.java:370)

            ... 92 more

2005-10-10 11:37:13,603 DEBUG [com.teradata.tap.system.scheduler.SchedulerThread] SchedulerThread::goToSleep() -- Sleeping for: 15 seconds before any job execution happens.

2005-10-10 11:37:19,993 DEBUG [net.sf.hibernate.impl.SessionImpl] running Session.finalize()

2005-10-10 11:37:20,399 DEBUG [com.teradata.tap.system.persistence.CollectionHandler] CollectionHandler.getCollection(hqlQuery,paramMap) for query from NotificationVO as notif where notif.notificationDate<:thresholdDate

2005-10-10 11:37:20,399 DEBUG [com.teradata.tap.system.persistence.SessionHandler] SessionHandler.getHibernateSession()

2005-10-10 11:37:20,399 DEBUG [com.teradata.tap.system.util.ServiceLocator] getHibernateSessionFactory(): Entering...

2005-10-10 11:37:20,399 DEBUG [com.teradata.tap.system.util.ServiceLocator] getHibernateSessionFactory(): seeking cache in cache

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.impl.SessionImpl] opened session

2005-10-10 11:37:20,399 DEBUG [com.teradata.tap.system.persistence.SessionHandler] SessionHandler.getHibernateSession returning session:net.sf.hibernate.impl.SessionImpl@ed397e

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.impl.SessionImpl] find: from NotificationVO as notif where notif.notificationDate<:thresholdDate

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.engine.QueryParameters] named parameters: {thresholdDate=09 October 2005 11:37:20}

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.hql.QueryTranslator] compiling query

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.impl.SessionImpl] flushing session

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.impl.SessionImpl] Flushing entities and processing referenced collections

2005-10-10 11:37:20,399 DEBUG [net.sf.hibernate.impl.SessionImpl] Processing unreferenced collections

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-10-10 at 21:20:37ID21590459
Tags

transient

,

instance

,

hibernate

,

unsaved

Topics

Java Programming Language

,

J2EE Frameworks

Participating Experts
3
Points
250
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Problems with hibernate
    In a helpdesk application, all entity(s) have an id field well-mapped with an <id> tag in the Schema. Being this a table-per-entity mapping structure, each register of, in principle, any table should have a distinct value at the id column. On the other hand, we aren't...
  2. hibernate mapping
    Hi experts, I have a search form with 3 text fields and a dropdown list. All the four fields come from different tables in the database. Forexample, CUSTOMER_NAME comes from a view, GFCID_TYPE_NAME comes from another viewm LEGAL_ENTITY_ID comes from a table, and BRANCH comes...
  3. SQL Query Mapping in Java using Hibernate
    G'day, I have an Oracle SQL query that generates a result set containing 12 different columns. They are named id, type, col1, col2, col3, ... col10. The data in these columns encompasses three different entity types: customer, address, product. So as an example, the column da...
  4. No data is inserted a Hibernate question.
    I am using spring and hibernate. I have a simple table item2 and user. I could fetch the user name but I could not insert item2 data. No exception is thrown. =============================================================================== public class Item2 implements Serializ...
  5. Hibernate with native SQL
    i need to regularly update a timestamp attribute in a mysql table, while that table is not a hibernate-mapped entity class. the SQL is something like UPDATE mytable SET tstamp = NOW() where attr1 = val1 AND attr2 = val2 i don't want to introduce a new hibernate mapped enti...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: profiles_arunPosted on 2005-10-10 at 21:24:02ID: 15057624


Hi Radhika,

 Instead of this, could you post the code where you are doing insert, and the .hbm.xml files for the parent and child object.
 I suppose that would be more helpful than debugging this.

regards,
AKS

 

by: kannan_ekanathPosted on 2005-10-10 at 23:22:15ID: 15057967

Hi Radhika,
The log file is very huge. From what i can read, you have obj1 having a collection of obj2 as children.
obj1.getSomeSet().add(obj2) -> Here if obj2 is unsaved it will give rise to this problem

1) See if the cascade flag is correct, it must be "all"
2) Alternatively see, if calling session.save(obj2) and then session.save(obj1) solves the issue (Althought this will be a *good* solution purely depending on your business requirements)

 

by: kannan_ekanathPosted on 2005-10-10 at 23:25:27ID: 15057983

Basically,
Your child object is transient, you must save it before saving a parent object

 

by: matthewdflemingPosted on 2005-10-11 at 13:12:22ID: 15064122

Most people have trouble with parent/child when they first use hibernate.. Check out:
http://www.hibernate.org/hib_docs/v3/reference/en/html/example-parentchild.html
The key here is to use the "inverse" attribute and to create the relationship on both
objects that are involved.. e.g.
Parent p = (Parent) session.load(Parent.class, pid);
Child c = new Child();
c.setParent(p);
p.getChildren().add(c);

 

by: matthewdflemingPosted on 2005-12-29 at 07:00:58ID: 15570727

I'm in for some points..;-)

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...