[hibernate-dev] DefaultLoadEventListener.assembleCacheEntry several times slower than fetching state from 2nd level cache

2009-05-26 Thread Nikita Tovstoles
I am about to file a bug but wanted to run this by the experts first. Let's say there is a User entity class that declares 20 lazy collections much like so: @OneToMany( mappedBy = "owner") @Cascade({CascadeType.REMOVE, CascadeType.DELETE_ORPHAN}) @LazyCollection(LazyCollectionOption.

RE: [hibernate-dev] RE: EntityPersister.initializeLazyProperty: ask for one, initialize all?

2009-05-26 Thread Nikita Tovstoles
Thanks for getting back to me, Steve. Yep, I realized that subsequently and submitted a patch. Please see my latter e-mails with further details. -nikita -Original Message- From: Steve Ebersole [mailto:steven.ebers...@gmail.com] On Behalf Of Steve Ebersole Sent: Tuesday, May 26, 2009 10

RE: [hibernate-dev] RE: EntityPersister.initializeLazyProperty: ask for one, initialize all?

2009-05-26 Thread Steve Ebersole
Hey Nikita Bad timing as the US had a long weekend, so most of us were not around. I'll take a look at this tomorrow and get back to you. WRT your specific question... AFAIR, the reason cloning would be needed was that you would need to remove the property names as they are initialized. The set

[hibernate-dev] [BV] Support for constraints by groups

2009-05-26 Thread Emmanuel Bernard
Please review. Also we need to implement the // group validation in HV to avoid to many passes. Begin forwarded message: From: Emmanuel Bernard Date: May 26, 2009 16:43:53 CEDT To: jsr-303...@jcp.org Subject: Support for constraints by groups Reply-To: Java Community Process JSR #303 Exper

[hibernate-dev] Re: [jbosscache-dev] JBoss Cache Lucene Directory

2009-05-26 Thread Manik Surtani
Sanne, Agreed. Could all involved please make sure we post to both hibernate- dev as well as infinispan-dev (rather than jbosscache-dev) when discussing anything to do with such integration work. As there are parallel efforts which can be brought together. Cheers Manik On 25 May 2009, a