Bryan Pendleton <[email protected]> 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. derby.language.statementCacheSize=0 This property has not been documented yet (DERBY-4280). -- Knut Anders
