| Summary: | fencepost error in getFunctionWithArguments | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Nathan Bryant <nbryant> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
My bad... it's just not intended to be used from an ExpressionBuilder. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Build Identifier: 2.1.1 Expression.getFunctionWithArguments has a fence post error. For a function with two arguments it will insert two commas. I'm seeing this result in generation of syntactically incorrect SQL every time. The problem is here: for (int index = 0; index < arguments.size(); index++) { v.addElement(", "); } Reproducible: Always Steps to Reproduce: 1. Try to use getFunctionWithArguments 2. It can't possibly have ever worked. 3.