spring-framework/spring-jdbc
Sam Brannen 697108cc42 Support safe-updates mode in MySQLMaxValueIncrementer
Prior to this commit, MySQLMaxValueIncrementer could not be used when
the MySQL database was configured to use safe-updates mode.

See https://dev.mysql.com/doc/refman/8.0/en/mysql-tips.html#safe-updates

This commit introduces a `limit 1` clause to the generated update
statement to allow MySQLMaxValueIncrementer to be compatible with
MySQL safe-updates mode.

Closes gh-26858
2021-04-29 15:37:40 +02:00
..
src Support safe-updates mode in MySQLMaxValueIncrementer 2021-04-29 15:37:40 +02:00
spring-jdbc.gradle Use Gradle test fixture support for spring-beans and spring-context 2020-01-02 16:01:34 +01:00