voltdb将编写的存储过程jar添加的数据库里面

5.3.1. Compiling, Packaging, and Loading Stored Procedures

The VoltDB stored procedures are written as Java classes, so you compile them using the Java compiler. Anytime you update your stored procedure code, remember to recompile, package, and reload it into the database using the following steps:

$ javac -classpath "./:/opt/voltdb/voltdb/*" \         
        -d ./obj  \
         *.java
$ jar  cvf  myproc.jar -C obj .                        
$ sqlcmd                                               
1> load classes myproc.jar;
2> show classes;


你可能感兴趣的:(voltdb将编写的存储过程jar添加的数据库里面)