Hello.

Sometimes an error occurs because a db query went wrong...

Then in the logs there is an entry in that way:

javax.persistence.NonUniqueResultException: Expected a single result for query: 
SELECT FROM Employee WHERE user=:user : The query returned more than one 
instance BUT either unique is set to true or only aggregates are to be 
returned, so should have returned one result maximum
org.datanucleus.store.query.QueryNotUniqueException: The query returned more 
than one instance BUT either unique is set to true or only aggregates are to be 
returned, so should have returned one result maximum

My quetions is, is it possible to see the real query that occured the error? 
I alway see the query with the place holder (e.g. :user) but I want to the 
the real used parameters (e.g. the user key).

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to