[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2672) Need Support Readonly Session
Christian Bauer (JIRA)
noreply at atlassian.com
Wed Jun 13 05:09:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Bauer resolved HHH-2672.
----------------------------------
Resolution: Duplicate
> Need Support Readonly Session
> -----------------------------
>
> Key: HHH-2672
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2672
> Project: Hibernate3
> Issue Type: New Feature
> Components: core
> Affects Versions: 3.2.4.sp1
> Reporter: kindy wu
>
> I think we need a readonly session to impove the Select performance!
> code is like this:
> session.SetReadonly(true);//or ReadonlySession rSession = new ReadonlySession(session);
> Code cs = session.CreateQuery("From Code c");//table codes is very huge
> if we set the session to Readonly then the Save,Update,Delete,SaveOrUpdate method is disable.
> and the entities that select from session is not need to write into session cache and don't need to
> generate proxy for lazy fetch.
> In a Word Readonly Session work like ibatis and Support good Performance for huge Data Collection.
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list