ServerSession server = context.getServer();
TableName jarName = jarName(server, jar);
DDLFunctions ddl = server.getDXL().ddlFunctions();
NewAISBuilder aisb = AISBBasedBuilder.create(server.getDefaultSchemaName(),
ddl.getTypesTranslator());
aisb.sqljJar(jarName).url(url, true);
SQLJJar sqljJar = aisb.ais().getSQLJJar(jarName);
ddl.replaceSQLJJar(server.getSession(), sqljJar);
server.getRoutineLoader().checkUnloadSQLJJar(server.getSession(), jarName);
}