You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2010/06/23 14:50:51 UTC

[jira] Created: (CAY-1453) BindDirective support for array bindings

BindDirective support for array bindings
----------------------------------------

                 Key: CAY-1453
                 URL: https://issues.apache.org/jira/browse/CAY-1453
             Project: Cayenne
          Issue Type: Improvement
    Affects Versions: 3.1M1
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
            Priority: Minor
             Fix For: 3.1M1


BindDirective supports binding IN clause to Collection objects per http://cayenne.apache.org/doc30/scripting-sqltemplate.html , however binding to arrays doesn't work, which is rather confusing. Need to support array bindings.

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


[jira] Commented: (CAY-1453) BindDirective support for array bindings

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882463#action_12882463 ] 

Andrus Adamchik commented on CAY-1453:
--------------------------------------

Evgeny, good point... Arrays can be viewed as "primitive" values in many cases... I guess we may end up simply documenting this  better.

> BindDirective support for array bindings
> ----------------------------------------
>
>                 Key: CAY-1453
>                 URL: https://issues.apache.org/jira/browse/CAY-1453
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.1M1
>
>
> BindDirective supports binding IN clause to Collection objects per http://cayenne.apache.org/doc30/scripting-sqltemplate.html , however binding to arrays doesn't work, which is rather confusing. Need to support array bindings.

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


[jira] Commented: (CAY-1453) BindDirective support for array bindings

Posted by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882264#action_12882264 ] 

Evgeny Ryabitskiy commented on CAY-1453:
----------------------------------------

I have also thought about it....
But byte[] could be bind as BLOB not only as a collection of bytes...
-1 to handling array as a collection...

> BindDirective support for array bindings
> ----------------------------------------
>
>                 Key: CAY-1453
>                 URL: https://issues.apache.org/jira/browse/CAY-1453
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.1M1
>
>
> BindDirective supports binding IN clause to Collection objects per http://cayenne.apache.org/doc30/scripting-sqltemplate.html , however binding to arrays doesn't work, which is rather confusing. Need to support array bindings.

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