class JcrStatement implements Statement {

    @Override
    public void setFetchDirection( int direction ) throws SQLException {
        notClosed();
        if (direction != ResultSet.FETCH_FORWARD && direction != ResultSet.FETCH_REVERSE && direction != ResultSet.FETCH_UNKNOWN) {
            throw new SQLException(JdbcLocalI18n.invalidArgument.text(direction, "" + ResultSet.FETCH_FORWARD + ", "
                                                                                 + ResultSet.FETCH_REVERSE + ", "
                                                                                 + ResultSet.FETCH_UNKNOWN));
        }
        fetchDirection = direction;
    }

      JcrStatement( JcrConnection connection );

}