Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for Bug 403981 - Converter is not applied on JPQL MAX query

https://bugs.eclipse.org/bugs/show_bug.cgi?id=403981

Fix checked into master.  When 2.5.1 opens we will check it in there as well.

Fix adds a query hint that allows the converter to be applied when MIN or MAX is in the query.

Currently the default behavior for MIN and MAX is to return the value from the DB and require the query hint to apply the converter. We chose this behavior so as not to regress anyone who is depending on the functionality prior to this bug fix.

Reviewed by Guy Pelletier

Tested with Core and JPA LRG

Added test to InheritanceTestSuite (due to presence of an appropriate mapping)


Back to the top