[hibernate-dev] 'key-many-to-one-element' and 'on-delete'

2013-03-06 Thread Ɓukasz Antoniak
Hello Team, What do you think about adding "on-delete" attribute to "key-many-to-one-element" type in HBM mapping? This would allow generation of "ON DELETE CASCADE" clause. Context: "HHH-7807 - Deleting Revision Entity" and "HHH-8052 - Possibility to deleted audits/revisions in an orderly way".

Re: [hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-06 Thread Emmanuel Bernard
I'm planning on working on OGM-151. Fine with everyone? That will likely be my last before I move back to BVAL and close the final issues there. Emmanuel On Tue 2013-03-05 19:04, Sanne Grinovero wrote: > Nice! > n+1 is something Hibernate Search has to deal with too, that's why I > was interested

Re: [hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-06 Thread Davide D'Alto
it's ok for me Davide On Wed, Mar 6, 2013 at 3:28 PM, Emmanuel Bernard wrote: > I'm planning on working on OGM-151. Fine with everyone? > That will likely be my last before I move back to BVAL and close the > final issues there. > > Emmanuel > > On Tue 2013-03-05 19:04, Sanne Grinovero wrote: >>

Re: [hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-06 Thread Emmanuel Bernard
I've successfully implemented OGM-151 for EntityKey which is the one we need to move OGM-273 forward for now. I am trying to implement it for AssociationKey but caching here is significantly harder as data is cross reference across associations. Sanne, when you worked on the profiling of OGM, do y