synchronized void resetStatements ( ) { Iterator it = csidMap . values ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { Statement cs = ( Statement ) it . next ( ) ; cs . clearVariables ( ) ; } }
Used after a DDL change that could impact the compiled statements . Clears references to CompiledStatement objects while keeping the counts and references to the sql strings .