add setQueryResultSetPrototype function

allow use temporary ResultSetPrototype