Cannot execute UPDATE in a read-only transaction.

已回答

My connection to my postgres DB has readonly flag set.

As expected when i attempt to run an update i get the message

"You are attempting to execute a statement that leads to modification of data during a read-only connection"

 

When I click execute, i get the errror [25006] Cannot execute UPDATE in a read-only transaction?

0

It is because JDBC-level read-only mode is turned on as well. We'll see what we can do.

0

请先登录再写评论。