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. Thanks!

yuji
----

> -----Original Message-----
> From: Yuji Shinozaki [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 24, 2003 8:54 AM
> To: OJB Users List
> Subject: mass inserts
>
>
>
> When we do a lot of inserts at once, it seems like OJB does a lot of
> "pre-querying".   I think this is for deciding whether a new object
> consistutes an UPDATE or an INSERT.   For mass-loading of objects
> (which we know will be new unique INSERTS). Is there anything we could do
> to optimize the process?  Prevent it from pre-querying?
>
> Will proxies help by quickening the queries?
>
> Any pointers welcome.
>
> yuji
> ----
> Yuji Shinozaki                                Computer Systems Senior Engineer
> [EMAIL PROTECTED]                     Advanced Technologies Group
> (804)924-7171                         Information Technology & Communication
> http://www.people.virginia.edu/~ys2n    University of Virginia
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Yuji Shinozaki                          Computer Systems Senior Engineer
[EMAIL PROTECTED]                       Advanced Technologies Group
(804)924-7171                           Information Technology & Communication
http://www.people.virginia.edu/~ys2n    University of Virginia



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to