Richard Zowalla created OPENJPA-3030:
----------------------------------------

             Summary: Derby: LEFT and RIGHT are not supported
                 Key: OPENJPA-3030
                 URL: https://issues.apache.org/jira/browse/OPENJPA-3030
             Project: OpenJPA
          Issue Type: Sub-task
            Reporter: Richard Zowalla


Derby has no {{LEFT}} and {{RIGHT}} functions:
{noformat}42X01 : Encountered "LEFT" ... WHERE (t0.STR_VAL_1 = LEFT(?, 
4)){noformat}
{{DerbyDictionary}} should render them with {{SUBSTR}} ({{RIGHT(s, n)}} as 
{{SUBSTR(s, LENGTH(s) - n + 1)}}).

Failing tests: {{Client9.testLeftExprLen}}, {{testLeftIntLen}}, 
{{testRightExprLen}}, {{testRightIntLen}}, 
{{Client3.test_leftStringExpression}}, {{test_rightStringExpression}}.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to