Sam Brannen
210019cad1
Polish contribution
...
See gh-29379
2022-11-01 11:41:41 +01:00
Mahmoud Ben Hassine
39f24f0244
Introduce DataFieldMaxValueIncrementer for MariaDB
...
Closes gh-29379
2022-11-01 11:27:34 +01:00
Juergen Hoeller
aaa22ad07d
Remove square brackets with index/key expressions from generated SQL
...
See gh-27925
2022-10-19 18:23:49 +02:00
Juergen Hoeller
d4fac82d68
Preserve square brackets for index/key expressions
...
Closes gh-27925
2022-10-18 22:39:53 +02:00
Sam Brannen
ae368a20b8
Merge branch '5.3.x'
...
# Conflicts:
# spring-web/src/test/kotlin/org/springframework/http/codec/json/KotlinSerializationJsonDecoderTests.kt
# spring-web/src/test/kotlin/org/springframework/http/codec/json/KotlinSerializationJsonEncoderTests.kt
2022-10-08 14:06:41 +02:00
Johnny Lim
1c1a0afbed
Use AssertJ static imports consistently in 5.3.x
...
Closes gh-29282
2022-10-08 13:57:21 +02:00
Sébastien Deleuze
ff81d64fb5
Add reflection hint for EmbeddedDataSourceProxy#shutdown
...
This commit adds a reflection hint on
EmbeddedDatabaseFactory$EmbeddedDataSourceProxy#shutdown when
EmbeddedDatabaseFactory is reachable in order to allow its usage
as bean destroy method.
Closes gh-29259
2022-10-05 14:08:09 +02:00
Sam Brannen
261124f497
Remove flaky executesHugeScriptInReasonableTime() tests
...
These tests often fail on the CI server and do not provide any
meaningful information when they fail, since only a proper benchmark
would suffice. Furthermore, the test method was introduced 10 years
ago to address deficiencies in JDK 7 which no longer exist.
See gh-14415
2022-09-08 13:18:05 +02:00
ben-enfuse-io
21577c4777
Treat MariaDB as an independent database type
...
See gh-28355
2022-08-23 07:44:02 +02:00
Stephane Nicoll
f9ee8a93ad
Polish "Improve test coverage of RdbmsOperation"
...
See gh-28472
2022-07-29 17:36:33 +02:00
Jiayi Li
608be54a58
Improve test coverage of RdbmsOperation
...
See gh-28472
2022-07-29 17:28:00 +02:00
Sam Brannen
0fb9de5d0e
Merge branch '5.3.x'
2022-07-13 16:36:01 +02:00
Marc Wrobel
bd3499671c
Fix typos in test code
...
This commit fixes typos in test class names, test method names, and
test variable names.
Closes gh-28807
2022-07-13 16:24:11 +02:00
Sam Brannen
ddd11610cf
Merge branch '5.3.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DriverManagerDataSource.java
# spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java
2022-07-13 13:46:34 +02:00
Marc Wrobel
bca104798b
Fix and improve Javadoc in spring-jdbc
...
Closes gh-28796
2022-07-13 13:42:48 +02:00
Sam Brannen
2af08cf163
Merge branch '5.3.x'
...
# Conflicts:
# spring-core/src/test/java/org/springframework/core/annotation/TypeMappedAnnotationTests.java
# spring-test/src/test/java/org/springframework/test/context/junit4/TimedSpringRunnerTests.java
# spring-test/src/test/java/org/springframework/test/util/MetaAnnotationUtilsTests.java
# spring-test/src/test/java/org/springframework/test/util/OverriddenMetaAnnotationAttributesTests.java
2022-07-09 16:24:04 +02:00
Sam Brannen
d274e893a6
Remove superfluous static declaration for enum, annotation, & interface
2022-07-09 16:16:13 +02:00
Stephane Nicoll
a4ccec18f6
Merge branch '5.3.x'
2022-06-23 09:04:52 +02:00
Stephane Nicoll
e98b602d4f
Polish "Fix DataSourceUtils inconsistent exception handling"
...
See gh-28669
2022-06-23 09:01:39 +02:00
Kevin Schönfeld
edfe5d2f18
Fix DataSourceUtils inconsistent exception handling
...
Align IllegalStateException with SQLException handling and propagate
the original exception.
See gh-28669
Co-authored-by: Christoph Mies <chr.mi@web.de >
2022-06-23 09:01:39 +02:00
Juergen Hoeller
d7be1e0dab
Polishing
2022-06-14 15:09:39 +02:00
Juergen Hoeller
083113d8a4
Use SQLExceptionSubclassTranslator by default (avoiding sql-error-codes.xml)
...
SQLErrorCodeSQLExceptionTranslator kicks in for user-provided sql-error-codes.xml files. It will still pick up Spring's legacy default error code mappings as well but only when triggered by a (potentially empty) user-provided file in the root of the classpath.
Closes gh-28216
2022-06-14 14:00:56 +02:00
Sam Brannen
ee209de9cf
Merge branch '5.3.x'
...
# Conflicts:
# spring-beans/src/test/java/org/springframework/beans/factory/support/security/CallbacksSecurityTests.java
# spring-context/src/test/java/org/springframework/ejb/access/LocalSlsbInvokerInterceptorTests.java
# spring-context/src/test/java/org/springframework/ejb/access/SimpleRemoteSlsbInvokerInterceptorTests.java
# spring-web/src/test/java/org/springframework/remoting/jaxws/JaxWsSupportTests.java
# spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewResolutionIntegrationTests.java
2022-05-31 14:15:36 +02:00
Sam Brannen
1beb7068f6
Use new AssertJ exception assertions
2022-05-31 14:08:28 +02:00
Sam Brannen
5f8a4bcdc5
Merge branch '5.3.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java
# spring-context/src/main/java/org/springframework/scripting/support/StandardScriptFactory.java
2022-05-09 20:08:37 +02:00
Sam Brannen
e26d8839b3
Stop referring to features as Java 6/7 features where unnecessary
2022-05-09 19:09:06 +02:00
Juergen Hoeller
7e1782ea22
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# spring-core/src/main/java/org/springframework/core/convert/Property.java
2022-04-08 13:10:34 +02:00
Juergen Hoeller
90103b0ae9
Consistent support for direct column matches in DataClassRowMapper
...
Closes gh-28243
2022-04-08 13:00:31 +02:00
Sam Brannen
b3f786728e
Use modern language features in tests
2022-02-03 15:35:32 +01:00
Sam Brannen
54565e95b5
Merge branch '5.3.x'
2022-02-03 14:58:36 +01:00
Sam Brannen
f8a5a8d7be
Use modern language features in tests
2022-02-03 14:50:10 +01:00
Sam Brannen
19da4e309f
Merge branch '5.3.x'
2022-01-17 16:55:08 +01:00
Sam Brannen
420c4f3df3
Explicitly test BeanPropertyRowMapper.underscoreName(String)
...
See gh-27929
2022-01-17 16:54:03 +01:00
Sam Brannen
420ff46b2a
Polishing
2022-01-17 16:54:03 +01:00
Marten Deinum
261bc2ad6a
Fix regression in BeanPropertyRowMapper.underscoreName(String)
...
Commit 6316a35 introduced a regression for property names starting with
multiple uppercase letters (such as setEMail(...)).
This commit fixes that regression and includes an additional test to
cover this case.
See gh-27929
Closes gh-27941
2022-01-17 16:53:36 +01:00
Sam Brannen
ab88ff374a
Merge branch '5.3.x'
2022-01-08 17:24:53 +01:00
Sam Brannen
51d263bd06
Simplify H2SequenceMaxValueIncrementerTests
...
@hpoettker made me aware of the ModeEnum in H2 that allows the
parameterized test to be simplified, which was the primary impetus for
this commit.
See gh-27870
2022-01-08 17:24:19 +01:00
Sam Brannen
b981e36174
Merge branch '5.3.x'
2022-01-07 16:18:52 +01:00
Sam Brannen
90072d06fb
Test H2SequenceMaxValueIncrementer against all H2 2.0.x compatibility modes
...
See gh-27870
2022-01-07 16:17:11 +01:00
Sam Brannen
7769ded887
Merge branch '5.3.x'
2022-01-07 14:31:32 +01:00
Sam Brannen
75e1811470
Ensure H2SequenceMaxValueIncrementer works with all H2 compatibility modes
...
See gh-27870
2022-01-07 14:29:17 +01:00
Sam Brannen
18781e58ac
Polish contribution
...
See gh-27870
2022-01-07 10:09:45 +01:00
Henning Poettker
ed4e2289cd
Support H2 1.4 & 2.0 in H2SequenceMaxValueIncrementer
...
Prior to this commit, H2SequenceMaxValueIncrementer only supported H2
database 1.4.
This commit updates H2SequenceMaxValueIncrementer's getSequenceQuery()
method so that the syntax used supports version 1.4 and 2.0 of the H2
database.
This commit also updates several test schemas so that they work with H2
1.4 and 2.0 as well as HSQL.
Closes gh-27870
2022-01-07 10:09:27 +01:00
Juergen Hoeller
64b6beed5b
Consistent support for square brackets around named parameter
...
See gh-27716
2021-12-14 11:34:48 +01:00
Sam Brannen
a0d54105e9
Use new features in JUnit Jupiter 5.8.2
...
See gh-27744
2021-11-30 13:00:28 +01:00
Stephane Nicoll
974d326bf5
Merge branch '5.3.x'
2021-11-22 16:17:17 +01:00
Stephane Nicoll
b67e97d388
Polish
2021-11-22 16:13:37 +01:00
Stephane Nicoll
5eafcac3d6
Merge branch '5.3.x'
2021-11-22 13:46:45 +01:00
Stephane Nicoll
23babe27bb
Polish "Add tests for AbstractRoutingDataSource"
...
See gh-1330
2021-11-22 13:43:08 +01:00
Kazuki Shimizu
bcb9f159ca
Add tests for AbstractRoutingDataSource
...
See gh-1330
2021-11-22 13:43:08 +01:00