Add buffer handling to HydratingResultSet