Re: [hibernate-dev] Multiple-object batched inserts

2007-08-23 Thread Brett Wooldridge
Yeah, I read through the whole discussion. Pity about the Map - would have been much more efficient than sorting - but I'm glad there is a solution nonetheless. -Brett On 8/23/07 7:36 AM, "Steve Ebersole" <[EMAIL PROTECTED]> wrote: > Wanted to point out that a Map keyed by SQL is not sufficien

Re: [hibernate-dev] Multiple-object batched inserts

2007-08-23 Thread Brett Wooldridge
Thanks for that. -Brett On 8/23/07 1:32 AM, "Max Rydahl Andersen" <[EMAIL PROTECTED]> wrote: > > http://opensource.atlassian.com/projects/hibernate/browse/HHH-1 > > /max > >> I thought his question was a little too technical for the general list, so I >> thought I¹d ask it here. Is there a t

Re: [hibernate-dev] Multiple-object batched inserts

2007-08-23 Thread Steve Ebersole
Wanted to point out that a Map keyed by SQL is not sufficient, because that approach would not properly account for self-referential associations (the same SQL). The patch provided for HHH-1 is well thought out in terms of accounting for all association scenarios. It does not, of course, han

Re: [hibernate-dev] Multiple-object batched inserts

2007-08-22 Thread Max Rydahl Andersen
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1 /max I thought his question was a little too technical for the general list, so I thought I¹d ask it here. Is there a technical reason why Hibernate does not or cannot support the batching of multiple (different) object insertion

[hibernate-dev] Multiple-object batched inserts

2007-08-22 Thread Brett Wooldridge
I thought his question was a little too technical for the general list, so I thought I¹d ask it here. Is there a technical reason why Hibernate does not or cannot support the batching of multiple (different) object insertions within the same session? I have code that is semantically equivalent to