springboot+mybatis项目调用oracle存储过程报错

报错描述:

ORA-20001: Oracle 错误 -20001:fnd_global.set_nls 中检测到 ORA-20001: Oracle 错误 -2074:fnd_global.set_nls.set_parameter('NLS_LANGUAGE','SIMPLIFIED CHINESE') 中检测到 ORA-02074: 无法在分布式事务处理中 SET NLS
奇怪现象:

第一次调成功,第二次失败,第三次成功,第四次失败............

代码展示:

select  id="getInfo" statementType="CALLABLE" parameterType="java.util.HashMap">
    call p_fty_yw_pkg.main (
    #{errbuf,mode=OUT,jdbcType=VARCHAR},
    #{retcode,mode=OUT,jdbcType=VARCHAR},
    #{p_id,mode=IN,jdbcType=VARCHAR},
    #{p_name,mode=IN,jdbcType=VARCHAR}
    )
</select >
Map<String,String> resultMap = new HashMap<String,String>();
resultMap.put("retcode",null);
resultMap.put("errbuf",null);
resultMap.put("p_id","11");
resultMap.put("p_name","san");
userMapper.getInfo(resultMap);

在数据库连接字符串中添加Workaround Oracle Bug 914652=true