ssh事务 Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL

ssh事务 Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL)

<prop key="save*">PROPAGATION_REQUIRED</prop>
                <prop key="update*">PROPAGATION_REQUIRED</prop>
                <prop key="delete*">PROPAGATION_REQUIRED</prop>
                <prop key="do*">PROPAGATION_REQUIRED</prop>
                <prop key="recv*">PROPAGATION_REQUIRED</prop>
    <prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
    <prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
    <prop key="send*">PROPAGATION_REQUIRED</prop>

你的方法命名要符合规范(方法命名时没符合你在事物中定义的名字为前缀),报错的方法应该是配置了只读事物

你可能感兴趣的:(ssh)