java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807573, 1 year ago
Connection is read-only. Queries leading to data modification are not allowed
via Database Administrators by Jean-Rémy Revy
, 1 year ago
Connection is read-only. Queries leading to data modification are not allowed ; SQL []; Connection is read-only. Queries leading to data modification are not allowed; nested exception is java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
via symmetricds by pvidal20
, 1 year ago
ORA-00933: SQL command not properly ended
via GitHub by jiangxiaoqiang
, 6 months ago
Communication error ; SQL []; Communication error; nested exception is java.sql.SQLException: Communication error
via symmetricds by petert14
, 1 year ago
Numeric overflow in conversion of value ALL_231 to type INTEGER.
java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:106)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:212)
at com.vaau.rbacx.idw.maintenance.userbusinessunit.dao.ibatis.SqlMapUserBusinessUnitRuleScanDao.updateScanResult(SqlMapUserBusinessUnitRuleScanDao.java:144)
at com.vaau.rbacx.idw.maintenance.userbusinessunit.actions.UserBusinessUnitIfAction.finishAction(UserBusinessUnitIfAction.java:109)
at com.vaau.rules.manager.RuleManagerImpl.executeRules(RuleManagerImpl.java:519)
at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.executeRules(RbacxIDWServiceImpl.java:2157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.vaau.rbacx.scheduling.executor.idw.UserBusinessUnitScanJobExecutor.execute(UserBusinessUnitScanJobExecutor.java:242)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

Users with the same issue

Once, 1 month ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.