[ 
https://issues.apache.org/jira/browse/DERBY-5121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008582#comment-13008582
 ] 

Mamta A. Satoor commented on DERBY-5121:
----------------------------------------

I am debugging the code to see what happens at the execution time of trigger 
firing. Rick, you mentioned TemporaryRowHolderResultSet in one of your 
comments. I will debug that further but do you know offhand if each trigger 
gets it's own copy of TemporaryRowHolderResultSet. If so, then I can probably 
maddle with how column mapping happens. This mapping can be different for 
different triggers on the same table and I didn't want to mess up 
TemporaryRowHolderResultSet if it is being shared by all the triggers on the 
table which are going to get fired. Thanks

> Data corruption when executing an UPDATE trigger
> ------------------------------------------------
>
>                 Key: DERBY-5121
>                 URL: https://issues.apache.org/jira/browse/DERBY-5121
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.7.1.1, 10.8.0.0
>            Reporter: Rick Hillegas
>            Assignee: Mamta A. Satoor
>              Labels: derby_triage10_8
>         Attachments: DummyProc.java, derby5121_patch1_diff.txt, 
> triggerBug.sql, triggerBug.sql, triggeredBug2.sql, triggeredCorruption.sql
>
>
> When executing an UPDATE trigger, the following error is raised. I will 
> attach a test case:
> ERROR XCL12: An attempt was made to put a data value of type 
> 'org.apache.derby.impl.jdbc.EmbedClob' into a data value of type 'INTEGER'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to