[ 
https://issues.apache.org/jira/browse/DERBY-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

V.Narayanan updated DERBY-2385:
-------------------------------

    Attachment: upgrade_v1.stat
                upgrade_v1.diff

The patch as such involved just calling the create_10_3_LOB_Specific_functions 
in doFullUpgrade of DD_Version. Going forward create_10_3_functions should be 
the only function that should be called in doFullUpgrade and 
create_10_3_LOB_Specific_Functions should be called from create_10_3_Functions. 

I have not done this as part of this patch since create_10_3_functions already 
contains functionality I guess related to DERBY-378 and I am not sure if 
Upgrade will be done in a future phase of solutions to this issue.

I have also added tests to UpgradeTester to test the stored procedures. I was 
not sure if this were required since I had to update upgrade cannons with 
metadata output related to the stored functions I create. If people feel the 
additional tests I have added are not necessary I will remove them.

I have run only the upgrade suite and it passed. However since I have modified 
DD_version and DataDictionaryImpl classes I will run derbyall and junit tests 
and shall post the outputs for the same. 

I request for the patch I am attaching to be considered for reviews and 
comments.

> create the stored procedures called by LOB related JDBC methods during upgrade
> ------------------------------------------------------------------------------
>
>                 Key: DERBY-2385
>                 URL: https://issues.apache.org/jira/browse/DERBY-2385
>             Project: Derby
>          Issue Type: Task
>          Components: JDBC
>    Affects Versions: 10.3.0.0
>            Reporter: V.Narayanan
>         Assigned To: V.Narayanan
>         Attachments: upgrade_v1.diff, upgrade_v1.stat
>
>
> DataDictionaryImpl.create_10_3_LOB_Specific_functions() has to be called from 
> DD_Version.doFullUpgrade() in order to create the procedures when upgrading 
> from 10.2 or earlier versions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to