Hello!
Are you sure, that you are correctly generated code? Do you added a third-party jar file?
If not, check this: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01734.0224/doc/html/lly1325623988704.html
Also, this may be helpful too: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01734.0224/doc/html/title.html