Comment 1 for bug 705527

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

I updated the javadocs

Projectable.uniqueResult(Expression<?>[])

* returns an array with the size of the Expression array or null for no result

Projectable.uniqueResult(Expression<?>[], Expression<?>[], Expression<?>[]...)

* returns an array with the combined size of the Expression arrays or null for no result

Return empty arrays for null results would be confusing in this case, but in cases returning multiple results as Collection types, no null results are returned.