[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2820?page=c...
]
jose commented on HHH-2820:
---------------------------
If try to create a "Holdable" connection fails...
Transaction tx = ses.beginTransaction();
ses.connection().setHoldability(ResultSet.HOLD_CURSORS_OVER_COMMIT);
....
ScrollableResults scroll = namedQuery.scroll(ScrollMode.FORWARD_ONLY);
...
tx.commit();
scroll.next() -> fail, Why ResultSet is closed (by Hibernate)?
Can not set HOLD_CURSORS_OVER_COMMIT when creating ScrollableResults
--------------------------------------------------------------------
Key: HHH-2820
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2820
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.5
Environment: N/A
Reporter: steven
Currently, I can not set HOLD_CURSORS_OVER_COMMIT when creating ScrollableResults. It
seams that the method in Query:
public ScrollableResults scroll(ScrollMode scrollMode) throws HibernateException;
should be added with the second argument: ResultSet holdability.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira