Re: Query returns right number of results, but they're all null?

2007-09-20 Thread Patrick Linskey
I've not seen that behavior, no. You don't have a reproducible test case that you could attach to a JIRA issue, do you? Also, what happens if you turn on trace-level debugging? -Patrick On 9/19/07, Cannon, Derry <[EMAIL PROTECTED]> wrote: > Has anyone had an issue with a query finding the

Query returns right number of results, but they're all null?

2007-09-19 Thread Cannon, Derry
Has anyone had an issue with a query finding the right number of hits in a table, but all of the results returned are null? I've got a user table with 304 entries. If I use the following code, I get the right number of results returned: Query query = em.createQuery("SELECT u FROM User u");