Sébastien Deleuze
7a666cfd86
Revert some null-safety changes
...
This commit reverts some null-safety changes which make sense
on main but are too impactful for 6.1.x for Kotlin developers
using -Xjsr305=strict.
See gh-32475
2 years ago
Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2 years ago
Sébastien Deleuze
5b660da52d
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Juergen Hoeller
c531a8a705
Nullability refinements and related polishing
...
See gh-32475
2 years ago
Sam Brannen
e1b1435a00
Stop referring to JDK 1.5 plus polishing
2 years ago
Stéphane Nicoll
4983a802a7
Polish "Fix Javadoc"
...
See gh-32403
2 years ago
Maksim Sasnouski
abdccffa39
Fix Javadoc
...
This commit fixes various Javadoc issues across the code base.
See gh-32403
2 years ago
Sam Brannen
6461eec582
Revise contribution
...
Closes gh-32380
2 years ago
Yanming Zhou
be136d79ee
Improve Javadoc for NamedParameterUtils.substituteNamedParameters()
...
This commit documents that an empty list is not guaranteed to be
supported by the database. For example, MySQL and PostgreSQL do not
support `foo in ()`.
See gh-32380
2 years ago
Juergen Hoeller
861ef88d9f
Expose savepoint callbacks on TransactionSynchronization
...
Closes gh-30509
2 years ago
Sam Brannen
b0d08fe2d4
Spring cleaning: avoid deprecation warnings
2 years ago
Sam Brannen
122372c580
Spring cleaning: update copyright headers
2 years ago
Sam Brannen
eb8492d597
Spring cleaning: avoid use of Iterator for Iterable
2 years ago
Sam Brannen
c98bebd6d3
Spring cleaning: add missing @Override annotations
2 years ago
Juergen Hoeller
4dc3eac864
Polishing
2 years ago
cboy
00edba07ff
Polishing Javadoc ( #32313 )
2 years ago
Patrick Strawderman
e1a32d4ba9
Avoid resizing of fixed-size HashSet/LinkedHashSet variants
...
Add helpers to CollectionUtils for building HashSets and LinkedHashSets
that can hold an expected number of elements without needing to
resize/rehash.
Closes gh-32291
2 years ago
Stéphane Nicoll
5d6501c75e
Revisit stored procedure detection
...
This commit revisits the improved detection algorithm for stored
procedure as, unfortunately, certain JDBC drivers do not support
the documented pattern for schema and procedure name.
To work around this limitation, this commit applies the escaping of
wildcard characters to the case where multiple procedures have been
found for a given search.
Closes gh-32295
2 years ago
Sam Brannen
d86af57e0f
Polishing
2 years ago
Juergen Hoeller
7ee8e66c7f
Avoid internal lifecycle synchronization in favor of lifecycle lock
...
Closes gh-32284
2 years ago
Sam Brannen
b6df5a677e
Polishing
2 years ago
Juergen Hoeller
7ad197e8e1
Deprecate LobHandler and SqlXmlHandler abstractions
...
Including SqlLobValue and related support classes.
Closes gh-32179
2 years ago
Stéphane Nicoll
2fc8b13dd5
Add support for MySQL backticks
...
This commit makes sure that content within backticks are skipped
when parsing a SQL statement using NamedParameterUtils. This harmonizes
the current behavior of ignoring special characters that are wrapped
in backticks.
Closes gh-31944
2 years ago
Stéphane Nicoll
18ea43c905
Allow customizations of embedded database connections
...
This commit allows EmbeddedDatabaseConfigurer instances to be further
customized if necessary. EmbeddedDatabaseBuilder has a way now to set
a DatabaseConfigurer rather than just a type to provide full control,
or customize an existing supported database type using the new
EmbeddedDatabaseConfigurers#customizeConfigurer callback.
Closes gh-21160
2 years ago
Juergen Hoeller
341ac76209
Rely on HashSet for uniqueness of mapped names
...
See gh-32199
2 years ago
Juergen Hoeller
8ff102115a
Let BeanPropertyRowMapper subclasses customize mapped names
...
Closes gh-32199
2 years ago
Juergen Hoeller
00577ed80a
Polishing
2 years ago
Juergen Hoeller
d586513d66
Introduce SqlBinaryValue/SqlCharacterValue as alternative to SqlLobValue
...
Includes direct byte array support via setBytes in StatementCreatorUtils.
Closes gh-32161
2 years ago
Stéphane Nicoll
ef2cae36ac
Polish contribution
...
See gh-32164
2 years ago
Yanming Zhou
efaf41862c
Polish StatementCreatorUtilsTests
...
See gh-32164
2 years ago
Juergen Hoeller
a44341ece3
Consistent method declaration order in Call/TableMetaDataProvider
2 years ago
Juergen Hoeller
2e9d6a1d4e
Polishing
2 years ago
Stéphane Nicoll
ad7c090f4c
Use catalog name in SimpleJdbcInsert
...
This commit harmonizes SimpleJdbcCall and SimpleJdbcInsert to
consistently use a catalog name if one is set. Previously,
SimpleJdbcInsert only used the catalog name to retrieve database
metadata.
Closes gh-32124
2 years ago
Stéphane Nicoll
f5b0d9509d
Polish
2 years ago
Juergen Hoeller
4d11307b84
Polishing
2 years ago
Stéphane Nicoll
1f2d29ee08
Polish
2 years ago
Stéphane Nicoll
2d3b02a89d
Polish
2 years ago
Stéphane Nicoll
87b35e7d8e
Polish
2 years ago
Stéphane Nicoll
534d3229fe
Polish
2 years ago
Stéphane Nicoll
3c5d46166e
Polish "Replace if with switch where feasible"
...
See gh-31916
2 years ago
Yanming Zhou
cfa3aa001f
Replace if with switch where feasible
...
See gh-31916
2 years ago
Stéphane Nicoll
7e5afc8bbb
Update copyright year of changed files
...
See gh-31913
2 years ago
Yanming Zhou
7474af4f09
Cleanup kotlin sources
...
1. remove unused import
2. remove redundant semicolon
3. remove redundant empty constructor and SAM-constructor
4. remove unnecessary type argument
5. adjust indent
See gh-31913
2 years ago
Juergen Hoeller
a428955438
Avoid unnecessary DatabasePopulator init/destroy processing
...
Closes gh-23405
2 years ago
Juergen Hoeller
a23375c49d
Document JDBC driver requirement for KeyHolder-based update methods
...
Closes gh-31486
2 years ago
Sam Brannen
c0683cd30b
Update copyright headers
2 years ago
Sam Brannen
b6364e3665
Polish Javadoc
2 years ago
Juergen Hoeller
77b0382a6c
Bypass getParameterType by default for PostgreSQL and SQL Server drivers
...
Closes gh-25679
2 years ago
Juergen Hoeller
69bc4e2828
Delegation support for JDBC 4.3 ConnectionBuilder and ShardingKeyBuilder
...
Also moves ShardingKeyProvider to datasource package and declares getSuperShardingKey as default method.
Closes gh-31795
See gh-31506
2 years ago