fix database interface issue on batch insert return type