MODE-1992 Updated the DatabaseBinaryStore so that it doesn't use ResultSet#first, which only works for scrollable result sets.