executeAsOne

Return

The only row of the result set for the underlying SQL statement as a non null RowType.

Throws

if when executed this query has no rows in its result set.

if when executed this query has multiple rows in its result set.