2891 Commits

Author SHA1 Message Date
Andy Wilkinson
51fedd6528 Reinstate support for Hibernate < 5.5
See gh-27352
2021-07-19 13:52:40 +01:00
Andy Wilkinson
6d50e65572 Revert "Add support for InfluxDB 2.x"
This reverts commit 52fedb2bb4da081a9c1750f0fea214b50a0db96b.

See gh-25891
2021-07-19 13:28:08 +01:00
Andy Wilkinson
4d30eb453f Adopt Hiberate's CamelCaseToUnderscoresNamingStrategy
Closes gh-27352
2021-07-19 13:19:49 +01:00
Andy Wilkinson
069074e490 Make ConnectionNameStrategy publicly settable
See gh-26982
2021-07-19 11:57:47 +01:00
Andy Wilkinson
bc8ab6c755 Merge branch '2.5.x'
Closes gh-27362
2021-07-16 09:43:55 +01:00
Andy Wilkinson
1e09ef1db3 Merge branch '2.4.x' into 2.5.x
Closes gh-27361
2021-07-16 09:43:33 +01:00
Andy Wilkinson
fe081b1742 Add Gson converter immediately before default Jackson converter
Previously, when the preferred json mapper was set to Gson, the Gson
HTTP message converter was added before any other converters. This
changed the form of String responses that were already valid. When
Jackson is in use, a string converter is used as it appears earlier
in the list than the Jackson converter. When the mapper is switched
to Gson, the Gson converter is added first in the list of converters
and the Strong converter is no longer used. This results in the
String, that was already valid JSON, being converted again. This
changes its form as quotes are escaped, etc.

This commit updates HttpMessageConverters so that the Gson converter
is added to the list immediately before the default Jackson
converter. This is done by considering the Gson converter to be an
equivalent of the Jackson converter.

Fixes gh-27354
2021-07-16 09:04:46 +01:00
Madhura Bhave
7bae960d78 Polish "Support comma-separated basePackage values in EntityScan"
See gh-27355
2021-07-15 15:42:42 -07:00
Saraswathy Hariharakrishnan
00b9a8811d Support comma-separated basePackage values in EntityScan
See gh-27355
2021-07-15 15:41:50 -07:00
izeye
198e40c72e Remove Flyway references from DependsOn BFPPs for Liquibase
See gh-27348
2021-07-15 20:18:27 +01:00
Andy Wilkinson
c00e885ac4 Work around compile warnings from Data Neo4j's use of API Guardian
See gh-27170
2021-07-14 18:28:24 +01:00
Andy Wilkinson
8db63db564 Merge branch '2.5.x'
Closes gh-27333
2021-07-14 17:19:59 +01:00
Andy Wilkinson
9a81d2fe09 Merge branch '2.4.x' into 2.5.x
Closes gh-27332
2021-07-14 17:19:39 +01:00
Andy Wilkinson
c005e1de9a Rename test classes to match our naming conventions
Closes gh-27331
2021-07-14 17:19:11 +01:00
Stephane Nicoll
36beca2c7d Add ERROR-level metadata for removed properties
See gh-27303
2021-07-14 14:58:52 +02:00
Andy Wilkinson
c406dda181 Deprecate AbstractDataSourceInitializer
Closes gh-27206

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2021-07-14 13:39:14 +01:00
Stephane Nicoll
dc5acb0019 Remove deprecated code flagged for removal
Closes gh-27303
2021-07-14 11:50:01 +02:00
Andy Wilkinson
06e08e9fb5 Pass required settings into RabbitTemplateConfigurer's constructor
Closes gh-27313
2021-07-13 18:19:27 +01:00
Andy Wilkinson
e6141c04f6 Pass required settings into Rabbit LCF configurer's constructor
Closes gh-27311
2021-07-13 18:17:07 +01:00
Andy Wilkinson
2c8658c24f Polish "Add Rabbit connection factory configurers"
See gh-26982
2021-07-13 17:44:56 +01:00
bono007
a96b3ef101 Add Rabbit connection factory configurers
See gh-26982
2021-07-13 17:44:56 +01:00
Andy Wilkinson
4d76660f17 Polish "Remove default spring.mongodb.embedded.version"
See gh-27108
2021-07-13 10:46:46 +01:00
bono007
d16ecab24b Remove default spring.mongodb.embedded.version
See gh-27108
2021-07-13 10:13:54 +01:00
Stephane Nicoll
8b732a9c33 Upgrade to Flyway 7.11.1
Closes gh-27290
2021-07-12 09:43:55 +02:00
Stephane Nicoll
c16ef0a006 Upgrade to Neo4j Java Driver 4.3.3
Closes gh-27278
2021-07-12 09:13:10 +02:00
Stephane Nicoll
f4cc3010de Upgrade to Commons Pool2 2.10.0
Closes gh-27256
2021-07-12 08:46:16 +02:00
Andy Wilkinson
7b0cc3afb5 Merge branch '2.5.x'
Closes gh-27227
2021-07-09 15:05:44 +01:00
Andy Wilkinson
1cd3a54e88 Rework Quartz DB init dependencies to use a detector
Closes gh-27222
2021-07-09 15:02:15 +01:00
Andy Wilkinson
7a1c923fec Merge branch '2.5.x'
Closes gh-27226
2021-07-09 14:18:18 +01:00
Andy Wilkinson
3de58c2340 Detect JdbcIndexedSessionRepository as depending on DB init
Fixes gh-27220
2021-07-09 14:17:23 +01:00
Andy Wilkinson
0b604f5e3b Merge branch '2.5.x'
Closes gh-27224
2021-07-09 13:47:41 +01:00
Andy Wilkinson
f008228f1a Polish "Detect JobRepository as depending on DB init"
See gh-27221
2021-07-09 12:36:30 +01:00
Henning Pöttker
cf69785393 Detect JobRepository as depending on DB init
See gh-27221
2021-07-09 12:36:19 +01:00
Andy Wilkinson
7b94b40a19 Ensure that Session JDBC schema is in place before DB is accessed
Fixes gh-27208
2021-07-09 11:12:52 +01:00
Andy Wilkinson
4b1b2d6603 Consider Flyway and Liquibase as possible Batch DB initializers
This is a follow-on from 3fec4110 which only considered
BatchDataSourceInitializer as a possible initializer of Batch's
database schema. Flyway and Liquibase are now also considered.

Closes gh-27193
2021-07-09 10:29:50 +01:00
Andy Wilkinson
3fec41104e Ensure that Batch schema is in place before DB is accessed
Fixes gh-27193
2021-07-09 09:47:48 +01:00
Stephane Nicoll
786d7cdb6e Merge branch '2.5.x'
Closes gh-27118
2021-06-29 09:09:14 +02:00
Stephane Nicoll
ddf76c32c6 Update copyright year of updated file
See gh-27085
2021-06-29 08:28:08 +02:00
dreis2211
c852961011 Avoid reflection in tests
See gh-27085
2021-06-29 08:25:45 +02:00
Brian Clozel
f23fa2821c Merge branch '2.5.x'
Closes gh-27106
2021-06-25 19:38:39 +02:00
Brian Clozel
4db53601b5 Fix spring.netty.leak-detection metadata
Fixes gh-27104
2021-06-25 19:38:07 +02:00
Andy Wilkinson
d56ddb0f60 Merge branch '2.5.x'
See gh-27050
2021-06-24 11:21:30 +01:00
Andy Wilkinson
4572ae5430 Use reflection to extract Netty's default level
See gh-27046
2021-06-24 11:20:56 +01:00
Phillip Webb
6b241d04c0 Merge branch '2.5.x'
Closes gh-27063
2021-06-23 21:13:18 -07:00
Phillip Webb
093e7f7e3b Merge branch '2.4.x' into 2.5.x
Closes gh-27062
2021-06-23 21:13:08 -07:00
Phillip Webb
1a7569056b Fix 'spring.datasource.name' property description
Closes gh-27026
2021-06-23 21:12:59 -07:00
Phillip Webb
6102f10639 Merge branch '2.5.x' 2021-06-23 21:02:36 -07:00
Brian Clozel
7d720a63a5 Merge branch '2.5.x'
Closes gh-27050
2021-06-23 19:39:03 +02:00
Brian Clozel
bf17f50a1f Align NettyProperties with Netty's defaults
Prior to this commit, `NettyProperties` would use `DISABLED` as the
default level for leak detection in Netty. This is not the default value
enforced by Netty, which is `SIMPLE`.

This commit changes the default configuration property value and ensures
that both stay in sync.

Fixes gh-27046
2021-06-23 19:36:40 +02:00
Stephane Nicoll
49951e8be1 Merge branch '2.5.x'
Closes gh-27012
2021-06-22 08:26:33 +02:00