From IBM Security Bulletin: Buffer Overflow Vulnerability in IBM DB2 SQL/PSM Stored Procedure Infrastructure (CVE-2012-4826). - United States :

"If there already exists debuggable SQL/PSM Stored Procedures then the only prevention is to drop and recreate them without debug mode enabled."

IBM DB2 9.7 Information Center for Linux, UNIX, and Windows mentions:

"For Java routines, the DEBUG_MODE setting does not indicate whether the Java routine was actually compiled in debug mode, or whether a debug Jar was installed at the server."

How can I check if a Java SP is debuggable or not?