| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | François Cassistat...@maya-systems.com> |
| Subject | Re: Calling session.save() |
| Date | Sat, 21 Nov 2009 20:20:04 GMT |
I don't really know, but if so, you could consider using boolean Session.hasPendingChanges() to see if there is any change to save before saving. (But be careful of concurrent access then.) http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Session.html#hasPendingChanges() Frank Le 09-11-21 à 15:11, Ben Short a écrit : > Hi, > > Is it costly to call session.save() if the session has only been > used for > reading? > > Regards > > Ben Short | |
| Mime |
|
| View raw message | |