The derby.language.statementCacheSize property defines the size, in number of statements, of the database statement cache (prepared statements kept in memory).
This property controls the number of precompiled statements which Derby keeps in its statement cache. Consider raising this number if statement preparation is taking too much time.
For more information on the statement cache, see "Using the statement cache" in Tuning Derby.
100 statements.
derby.language.statementCacheSize=200
This property is static; if you change it while Derby is running, the change does not take effect until you reboot.