Due to cut-and-paste all of the executeResultXXX methods just have a check
if (result == null)
{
throw new JDOUserException("Cannot call executeResultList method when query has result unset. Call executeList instead.");
}
In the case of the methods that take in a result class, this should check on BOTH result and resultCls being null, since we should allow no result but a result class.
Due to cut-and-paste all of the executeResultXXX methods just have a check
In the case of the methods that take in a result class, this should check on BOTH result and resultCls being null, since we should allow no result but a result class.