db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4066) Allow functions/procedures to take Blob/Clob arguments
Date Fri, 20 Feb 2009 16:18:02 GMT

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

Rick Hillegas updated DERBY-4066:
---------------------------------

    Attachment: derby-4066-01-aa-enableLobArgs.diff

Attaching derby-4066-01-aa-enableLobArgs.diff. This patch removes disabling code which prevents
us from declaring and invoking functions/procedures with LOB arguments.

I haven't run regression tests yet and I'm waiting for community feedback on why we don't
allow these arguments today.

Touches the following files:

M      java/engine/org/apache/derby/impl/sql/compile/CreateAliasNode.java

Removes the code which prevents us from declaring functions/procedures with long argument
types.


M      java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java

Removes the code which prevents us from invoking functions/procedures with long argument types.


M      java/testing/org/apache/derbyTesting/functionTests/tests/lang/AnsiSignaturesTest.java
M      java/testing/org/apache/derbyTesting/functionTests/tests/lang/AnsiSignatures.java

Adds some simple tests to verify that you can now declare and invoke functions with LOB arguments.


> Allow functions/procedures to take Blob/Clob arguments
> ------------------------------------------------------
>
>                 Key: DERBY-4066
>                 URL: https://issues.apache.org/jira/browse/DERBY-4066
>             Project: Derby
>          Issue Type: New Feature
>    Affects Versions: 10.4.2.0
>            Reporter: Rick Hillegas
>         Attachments: derby-4066-01-aa-enableLobArgs.diff
>
>
> Derby objects if you try to declare a function or procedure with an argument whose type
is BLOB or CLOB. These kinds of arguments are allowed in the SQL standard and the matching
Java types are java.sql.Blob and java.sql.Clob. See the SignatureMatching.html summary attached
to DERBY-3652.
> We should lift this restriction and allow functions and procedures to take large object
arguments.

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


Mime
View raw message