Forum: Building VoltDB Applications

Post: Stored procedure

Stored procedure
May 7, 2014
Can I reference from stored procedure some another class?(View attachment)

I have compiled external class and included it into the catalog but when i try to update db i receive a java.lang.ClassNotFoundException.
May 8, 2014

You most definitely can.
You'll need to add 'import class <external class>' to your ddl.sql or database schema file. Please refer to example voltcache in voltdb folder which imports an external class in its' ddl.sql file.