| [eclipselink-dev] Fix for bug 269740 |
|
A fix for bug 269740 has been checked into SVN. Patches for foundation changes and testing changes have been uploaded to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=269740 Revision: 3762 Summary: Queries which use a platform-specific function fail with a "QueryException (invalid operator) in _expression_" exception when executed on a SessionBroker. The same is also true when executing executing a query with a custom function defined within/added to a DatabasePlatform subclass against a SessionBroker. This problem is resolved by passing an ExpressionBuilder to the ExpressionSQLPrinter used to actually print the SQL _expression_. Within the ExpressionSQLPrinter constructor, the correct Platform can be obtained via the session retrieved from the Descriptor referenced by the passed ExpressionBuilder. (more in the bug) Testing: LRG Reviewed: Chris Delahunt --
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 |