Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for bug 247076 - LiteralExpression does not print SQL in statement

The following fix has been checked in, and was previously reviewed.

Bug 247076 - LiteralExpression does not print SQL in statement

https://bugs.eclipse.org/bugs/show_bug.cgi?id=247076
(a patch file has been uploaded to this bug)

Changes:
- Added writeFields method to LiteralExpression, overriding the superclass' _expression_.writeFields method. The writeFields method prints the passed literal String value of the LiteralExpression into the SQL statement.
- Added LiteralExpressionTest regression test to check that a literal _expression_ retrieves correct results and verifies that no exception occurs when a query involving a LiteralExpression is executed.
- Modified ExpressionTestSuite to add reference to LiteralExpressionTest

Code review:
Not required (previously reviewed by Chris Delahunt)

Testing:
LRG (OK)

--
Oracle Email Signature Logo
David Minsky | Senior Member of Technical Staff | (613) 288-4605
Oracle Server Technologies | Sustaining Engineering
45 O'Connor Street, Suite 400, Ottawa, Ontario, Canada K1P 1A4

Back to the top