db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Need a help on DERBY-3892
Date Mon, 21 Sep 2009 06:20:41 GMT
Bryan Pendleton <bpendleton@amberpoint.com> writes:

> The other question you're asking is: how to reliably cause
> GenericStatement.prepMinion to get run, in order to set a
> breakpoint there and step through the code.
> I'm not sure how to do this. Sometimes stepping through this
> code is really tricky, because you only get one chance to do it,
> the first time the statement is compiled (after that, the statement
> is already compiled, and is found in the cache, and so it doesn't
> get re-compiled).

Disabling the statement cache probably helps. Then the statement is
compiled each time Connection.prepareStatement() is called.


This property has not been documented yet (DERBY-4280).

Knut Anders

View raw message