fetchSize() does not work

Description

fetch size does not work. The following returns all entities existing in the table:

Query beanQuery = session.createQuery("FROM bean mybean");
List list = beanQuery .setFetchSize(1000).list();

Environment

hibernate-3.2.1
jdk_1.5.0_10
oracle_10g-jdbc-10.2.0.2.jar
Oracle 10 g (10.2.0.3.0)

Status

Assignee

Unassigned

Reporter

ali aslan

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Priority

Critical