When using SQLJ stored procedures in DB2 9, one has to manually create
a Connextionconte xt if the procedure should be threadsafe. Now to use
this context one has also to prexif each #sql {} statement by this
context, like this "#sql [context] {}". I wondered if there is a
convenienc function available, to set the manually created context as
the new default for the rest of the stored procedure so just writing
"#sql {}" will use the manually defined context, not the default one.
Regards,
Janick
a Connextionconte xt if the procedure should be threadsafe. Now to use
this context one has also to prexif each #sql {} statement by this
context, like this "#sql [context] {}". I wondered if there is a
convenienc function available, to set the manually created context as
the new default for the rest of the stored procedure so just writing
"#sql {}" will use the manually defined context, not the default one.
Regards,
Janick
Comment