@Nullable
    private <U> U get(ResultSet rs, Expression<?> expr, int i, Class<U> type) throws SQLException {
        return configuration.get(rs, expr instanceof Path ? (Path<?>) expr : null, i, type);
    }
FOR SHARE causes the rows retrieved by the SELECT statement to be locked as though for update.

Supported by MySQL, PostgreSQL, SQLServer.

@param fallbackToForUpdate
         if the FOR SHARE is not supported and this parameter is <code>true</code>, the
         {@link #forUpdate()} functionality will be used.

@return the current object

@throws QueryException
         if the FOR SHARE is not supported and <i>fallbackToForUpdate</i> is set to
         <code>false</code>.
querydsl-sql/src/main/java/com/querydsl/sql/AbstractSQLQuery.java