Browse Source

数据库事务配置修改(此配置导致数据无法修改,报错Connection is read-only. Queries leading to data modification are not allowed)

szjbdgzl 1 year ago
parent
commit
6631da2d38

+ 3 - 3
ibps-provider-root/modules/provider-business/src/main/resources/conf/ibps-resources.xml

@@ -35,9 +35,9 @@
 
 	<tx:advice id="txAdvice" transaction-manager="transactionManager">
 		<tx:attributes>
-		  	<tx:method name="get*" read-only="true"  />
-			<tx:method name="is*" read-only="true"/>
-			<tx:method name="find*" read-only="true"/>
+<!--		  	<tx:method name="get*" read-only="true"  />-->
+<!--			<tx:method name="is*" read-only="true"/>-->
+<!--			<tx:method name="find*" read-only="true"/>-->
 <!--			<tx:method name="query*" read-only="true"/>-->
 			<tx:method name="*" isolation="DEFAULT"/>
 		</tx:attributes>