Forum: Building VoltDB Applications

Post: Stored procedure

Stored procedure
antociam
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.
pzhao
May 8, 2014
Antociam,

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.