[
https://issues.apache.org/jira/browse/OPENJPA-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18133081#comment-18133081
]
ASF subversion and git services commented on OPENJPA-3031:
----------------------------------------------------------
Commit 963045ecf116faddf6fc8130948222674f0fb874 in openjpa's branch
refs/heads/OPENJPA-3030 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=963045ecf ]
[OPENJPA-3031] Give VARCHAR casts a length on Derby
> Derby: CAST(? AS VARCHAR) without a length
> ------------------------------------------
>
> Key: OPENJPA-3031
> URL: https://issues.apache.org/jira/browse/OPENJPA-3031
> Project: OpenJPA
> Issue Type: Sub-task
> Reporter: Richard Zowalla
> Priority: Major
>
> Derby needs a length for VARCHAR in a CAST:
> {noformat}42X01 : Encountered ")" ... WHERE (CAST(? AS VARCHAR) = CAST(? AS
> VARCHAR) ...){noformat}
> Failing tests: {{Client2.parameterExpressionInCollectionTest}},
> {{parameterExpressionInExpressionArrayTest}},
> {{parameterExpressionInExpressionTest}}.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)