[appengine-java] Re: Any best practice of bulk update in JPA ?

2010-01-20 Thread Alan She
20日, 下午3時37分, John Patterson jdpatter...@gmail.com wrote: If you are going to change the relation often you might want to have a   resolution Entity in the middle - lets say CurrentB. A-CurrentB-B instead of updating every A just update the single CurrentB On 20 Jan 2010, at 14:05, Alan She

[appengine-java] Re: Any best practice of bulk update in JPA ?

2010-01-20 Thread Alan She
to overwrite B so the key stays the   same but the data in it changes. On 20 Jan 2010, at 15:31, Alan She wrote: Thanks! This really a smart way for relations that often changes. But I wonder if this is the only way? What if the relation seldom change? I believe the cost of the indirection