« Previous | Next » 

Revision 21cf88e5

ID21cf88e55a2757ff928a784ec3aa867faf6cfa83

Added by Robert Lemke over 9 years ago

[BUGFIX] PersistenceQueryRewritingAspect now supports count(0)

If the aspect intercepted a count() method and the result (because
of lacking access rights) would be "none", the aspect returned an
EmptyQueryResult object which in turn could not be cast into an
integer by the client code.

This patch now correctly returns a 0 in that case.

Change-Id: I5cb67715c2cb1ed12df724f45d6e87446750701f
Fixes: #36625
Releases: 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted