* @see LanguageConnectionContext#setIsolationLevel
*/
public void setIsolationLevel(int isolationLevel) throws StandardException
{
StatementContext stmtCtxt = getStatementContext();
if (stmtCtxt!= null && stmtCtxt.inTrigger())
throw StandardException.newException(SQLState.LANG_NO_XACT_IN_TRIGGER, getTriggerExecutionContext().toString());
// find if there are any held cursors from previous isolation level.
// if yes, then throw an exception that isolation change not allowed until
// the held cursors are closed.