[hibernate-dev] Re: [jbosscache-dev] REPEATABLE_READ in JBC as Hibernate 2nd Level Cache

2008-07-18 Thread Manik Surtani
AFAIR the last time we discussed this (last summer in Austin with Steve and Gavin) we came to the conclusion that R_C was optimal for the 2LC use case. On 17 Jul 2008, at 22:59, Brian Stansberry wrote: Hmm, good point. Potentially also Session.refresh(...), although I'm not sure if the imp

[hibernate-dev] Source code headers

2008-07-18 Thread Sanne Grinovero
Hi all, I've found a recommendation for a source code header at http://www.hibernate.org/438.html I'm not seeing this header on the code? What are the guidelines, should we add it to new classes? regards, Sanne ___ hibernate-dev mailing list hibernate-de

Re: [hibernate-dev] Source code headers

2008-07-18 Thread Emmanuel Bernard
yes it should -- Emmanuel Bernard http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com | http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) On Jul 18, 2008, at 07:28, Sanne Grinovero wrote: Hi all, I've found a recommendation for a source

[hibernate-dev] IntelliJ Headers

2008-07-18 Thread Emmanuel Bernard
BTW the intelliJ codestyle is here http://www.hibernate.org/438.html#A4 -- Emmanuel Bernard http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com | http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) On Jul 17, 2008, at 10:58, Sanne Grinovero

[hibernate-dev] Re: [jbosscache-dev] REPEATABLE_READ in JBC as Hibernate 2nd Level Cache

2008-07-18 Thread Brian Stansberry
Manik Surtani wrote: AFAIR the last time we discussed this (last summer in Austin with Steve and Gavin) we came to the conclusion that R_C was optimal for the 2LC use case. Yep. I was looking for reasons to flat out say "never use R_R, always R_C" in docs and such. Seems it's a bit more sub

[hibernate-dev] Re: [jbosscache-dev] REPEATABLE_READ in JBC as Hibernate 2nd Level Cache

2008-07-18 Thread Paul Ferraro
refresh() always goes to the db, and only potentially triggers a 2LC update - not a read. Perhaps we should revisit whether the scenario below warrants the cost of repeatable_read, given that entity eviction from session cache is typically used only to minimize memory usage when iterating through

[hibernate-dev] Re: [jbosscache-dev] REPEATABLE_READ in JBC as Hibernate 2nd Level Cache

2008-07-18 Thread Brian Stansberry
Galder Zamarreno wrote: Paul Ferraro wrote: refresh() always goes to the db, and only potentially triggers a 2LC update - not a read. [OT] A concern I have is whether the refresh() removes the item from the 2LC before doing the subsequent Hibernate cache put(). If not our putForExternalRea

[hibernate-dev] (Newbie question) Where to find the Hibernate3 module in svn?

2008-07-18 Thread Hugh M
I am trying to check out the source for hibernate according to instructions on http://www.hibernate.org/6.html. This page refers to the module "Hibernate3" in a couple of places, and in one spot even provides an svn command that suggests where I can get the branched version: Important note, the c

[hibernate-dev] Hibernate Search: ReaderProvider.destroy()

2008-07-18 Thread Emmanuel Bernard
Should we need a readerProvider.destroy()? ReaderProvider typically keep IndexReaders open till they are in use or if the index has been updated. But it has no hook to close the "current" IndexReaders when Hibernate Search goes down. I imagine the current code can become problematic on some