The derby.database.classpath property specifies the classpath that Derby should use when searching for jar files in a database.
This property must be set to enable Derby to load classes from jar files installed with the SQLJ.INSTALL_JAR system procedure.
Make sure to do the following:
Derby searches the user's classpath before it searches the jar files specified by the derby.database.classpath property setting. To force Derby to search the database only, remove the classes from the user classpath.
Derby searches for classes and resources in the order specified by the property setting.
For more information, see the section "Loading classes from a database" in the Derby Developer's Guide. For reference information on system procedures for storing jar files in a database, see "System procedures for storing jar files in a database."
-- database-level property CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.database.classpath', 'colonSeparatedJarFiles')
-- database-level property CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.database.classpath', 'APP.ToursLogic:APP.ACCOUNTINGLOGIC')
Dynamic; the change takes effect immediately. For information about dynamic changes to properties, see Dynamic and static properties.