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 Tue, 10 Aug 2010 14:29:18 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-02-ac-outputLOBs.diff

Attaching derby-4066-02-ac-outputLOBs.diff. This patch allows LOB-valued OUT/INOUT arguments
to Derby routines. Regression tests passed cleanly for me.

As follow-on work, we will want to verify that large LOBs behave correctly. Hopefully, the
work on DERBY-4544 will be applicable to DERBY-4754 and help improve the performance of LOB
arguments.


Touches the following files:

--------------

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

Allow LOB types as OUT and INOUT arguments in routine declarations.

--------------

M      java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement.java

Retrieve LOB values from OUT and INOUT parameters of CallableStatements.

--------------

M      java/client/org/apache/derby/client/net/NetCursor.java
M      java/drda/org/apache/derby/impl/drda/EXTDTAInputStream.java
M      java/drda/org/apache/derby/impl/drda/DRDAResultSet.java
M      java/drda/org/apache/derby/impl/drda/DRDAConnThread.java

Transport LOB-valued OUT/INOUT parameters across the network.

--------------

M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java

Verify small LOB-valued OUT/INOUT 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: Improvement
>          Components: SQL
>    Affects Versions: 10.4.2.0
>            Reporter: Rick Hillegas
>         Attachments: derby-4066-01-aa-enableLobArgs.diff, derby-4066-01-ab-enableLobArgs.diff,
derby-4066-01-ag-enableLobArgs.diff, derby-4066-01-ak-enableLobArgs.diff, derby-4066-01-al-enableLobArgs.diff,
derby-4066-02-ac-outputLOBs.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