Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0-RC1
-
Component/s: Persistence
-
Labels:None
Description
namedQuery.get() always returns null but namedQuery.list().find
{it}returns a result
The test app is attached to GRAILS-8311 (http://jira.grails.org/secure/attachment/17039/SessionTestApp-bug-report-16112011.zip) .
reproducing problem with GRAILS-8311 testapp : "grails run-app", then go to url http://localhost:8080/SessionTestApp/my/showgetbug
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
The code is on the master branch for inclusion in Grails 2.1. I am going to leave this issue open for now as a reminder that the change needs to be pulled over to the 2.0.x branch for inclusion in Grails 2.0.1 but I don't want the code on the 2.0.x branch until after Grails 2.0.0 is released. We are currently in the RC cycle for 2.0.0 and a new feature like this probably shouldn't be slipped in at this point.