On 10/12/05, Charles Harvey III <[EMAIL PROTECTED]> wrote:
> Hello.
> My application is taking "years" to insert an object and I can't figure
> out why for the life of me.  For starters, my test DB is in a different
> location than my dev box, so there is a lag time, and I am ok with that.
> But for one specific object the lag time is huge.  It is slightly faster
> when I put the app in production because of the proximity to the database.

Have you considered using a profiler for this (eclipse profiler,
YourKit, JProfiler, ...) ? Eg. set two breakpoints immediately before
and after the insert operation, and then let the profiler run between
these breakpoints. This will give you a detailed analysis of where the
most time is spent. Eg. if you have a network problem, then a lot of
time will be spent in a Socket method.

Tom

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

Reply via email to