You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/05/08 16:14:49 UTC
[GitHub] [incubator-shardingsphere] herryliq opened a new issue #2355: About
select for update
herryliq opened a new issue #2355: About select for update
URL: https://github.com/apache/incubator-shardingsphere/issues/2355
## Question
Which type will be judged with the sql like follows in shardingsphere.
`select tbl.next_val from hibernate_sequences tbl where tbl.sequence_name=? for update`
I use the previous version io.shardingjdbc that version is 2.0.3, in this version,
the below sql will be judged with DQL, in my application environment, the slave
database was read only, so when execute the above sql, database will throw a exception.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services