private void doRollback(boolean xa, boolean requestedByUser) throws StandardException
{
StatementContext statementContext = getStatementContext();
if (requestedByUser &&
(statementContext != null) &&
statementContext.inUse() &&
statementContext.isAtomic())
{
throw StandardException.newException(SQLState.LANG_NO_ROLLBACK_IN_NESTED_CONNECTION);
}