code: protected ResultSet findMaxPropertyVersion(String parentId, String name, int index) throws SQLException
     {
        if (findMaxPropertyVersions == null)
        {
           findMaxPropertyVersions = dbConnection.prepareStatement(FIND_MAX_PROPERTY_VERSIONS);
        }
  
        findMaxPropertyVersions.setString(1, getInternalId(parentId));
        findMaxPropertyVersions.setString(2, name);
        findMaxPropertyVersions.setInt(3, index);
  
        return findMaxPropertyVersions.executeQuery();
     }
docs: {@inheritDoc}