Replace a DataBlade module JAR file
When a DataBlade® module is loaded onto the HCL OneDB™ database server, the database server stores it in the database server memory map. Therefore, if you overwrite a JAR file while it is loaded in the database server, you must stop and restart the database server to unload the old JAR file and load the new one.
If you do not stop and restart the database server after you replace a DataBlade module JAR file, the database server might fail when you call a DataBlade module routine.
To unload a module without restarting the HCL OneDB database server, you must drop all objects in the module by using the SQL DROP statement. After all objects in the module have been dropped and all instances of the methods have finished executing, the symbol references to the DataBlade module JAR file are invalidated, and a message is recorded in the log file.
After the module is unloaded, replace the JAR file and load it into the database.