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

Rick Hillegas updated DERBY-4657:
---------------------------------

    Attachment: derby-4657-01-aa-booleanReturnValues.diff

Attaching derby-4657-01-aa-booleanReturnValues.diff. This allows functions to 
return BOOLEAN return values. Regression tests passed cleanly for me.

Touches the following files:

----------

M      java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj

Allows functions to be declared with BOOLEAN return values. BOOLEAN is still 
not allowed as an argument or column type or as the target type in an explicit 
CAST.

----------

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

BOOLEAN is added to the list of JDBC types which have both primitive and 
wrapper Java correspondences.


----------

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

Some unit tests verifying the correct resolution of BOOLEAN valued functions.


> Allow functions to return BOOLEAN values
> ----------------------------------------
>
>                 Key: DERBY-4657
>                 URL: https://issues.apache.org/jira/browse/DERBY-4657
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4657-01-aa-booleanReturnValues.diff
>
>
> As part of our expanding support for the BOOLEAN datatype, it would be nice 
> to allow functions to return BOOLEAN values.

-- 
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