rzo1 opened a new pull request, #284:
URL: https://github.com/apache/openjpa/pull/284
SUBSTRING(s, start) computed its length as `LEN(s) - (start - 1)`, which is
negative for a start beyond the string ("Invalid length parameter passed to the
LEFT or SUBSTRING function"). It now uses `DATALENGTH(s)`, which also keeps
trailing blanks.
Fixes `TestEJBQLFunction.testSubstringBeyondString` on SQL Server, reported
in #283.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]