RE: mass inserts

2003-03-24 Thread Lance Eason
Have you tried 'broker.store(article, ObjectModificationDefaultImpl.INSERT)'. The optional second argument to store tells OJB whether it is an update or an insert. -Original Message- From: Yuji Shinozaki [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:54 AM To: OJB Users List

RE: mass inserts

2003-03-24 Thread Yuji Shinozaki
On Mon, 24 Mar 2003, Lance Eason wrote: Have you tried 'broker.store(article, ObjectModificationDefaultImpl.INSERT)'. The optional second argument to store tells OJB whether it is an update or an insert. I knew there had to be something like this! It's on top of our list of things to try.

RE: mass inserts

2003-03-24 Thread Yuji Shinozaki
On Mon, 24 Mar 2003, Lance Eason wrote: Have you tried 'broker.store(article, ObjectModificationDefaultImpl.INSERT)'. The optional second argument to store tells OJB whether it is an update or an insert. Ah. Success! A load which one took an hour now takes 3 minutes. If that proportion