Sam Brannen
61a517ea3b
Merge branch '6.2.x'
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-04-22 12:46:52 +02:00
Sam Brannen
2f60083cd5
Add integration tests for reused named parameters from bean properties
...
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
See gh-34768
2025-04-22 12:45:35 +02:00
Sam Brannen
c5e865494e
Merge branch '6.2.x'
2025-04-17 15:48:48 +02:00
Sam Brannen
018d3c9ef2
Add integration tests for reused named parameters
...
Backport Bot / build (push) Has been cancelled
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
Deploy Docs / Dispatch docs deployment (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
See gh-34768
2025-04-17 15:48:24 +02:00
Juergen Hoeller
7bb7456686
Merge branch '6.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
# spring-jdbc/src/main/java/org/springframework/jdbc/core/StatementCreatorUtils.java
2025-04-10 18:37:07 +02:00
Juergen Hoeller
eea6addd26
Avoid lenient locking for additional external bootstrap threads
...
Includes spring.locking.strict revision to differentiate between true, false, not set.
Includes checkFlag accessor on SpringProperties, also used in StatementCreatorUtils.
Closes gh-34729
See gh-34303
2025-04-10 18:33:21 +02:00
Juergen Hoeller
8d48a1e34b
Merge branch '6.2.x'
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-04-05 16:14:06 +02:00
Juergen Hoeller
cc5ae23915
Suppress rollback attempt in case of timeout (connection closed)
...
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
Closes gh-34714
2025-04-05 16:03:31 +02:00
Yanming Zhou
5be83e9223
Stop calling deprecated JdbcOperations methods
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-28 14:40:51 +01:00
Juergen Hoeller
7d5b3892c4
Add since 7.0 tags for stream methods
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
Deploy Docs / Dispatch docs deployment (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
See gh-34623
2025-03-21 18:44:57 +01:00
Yanming Zhou
8819c749ce
Introduce Stream variant methods for SqlQuery
...
Closes GH-34474
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-21 18:38:28 +01:00
Juergen Hoeller
47651350f3
Polishing
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-03-21 10:58:40 +01:00
Juergen Hoeller
0e1422820f
JdbcClient holds ConversionService for queries with mapped classes
...
Closes gh-33467
2025-03-21 10:43:37 +01:00
Sam Brannen
e05d4f2f18
Merge branch '6.2.x'
2025-03-18 16:42:37 +01:00
Sam Brannen
c6a9aa59a3
Remove BDDMockito Checkstyle rule
...
This commit removes the BDDMockito Checkstyle rule, since it did not
actually enforce the use of BDDMockito.
This commit also updates static imports to use Mockito instead of
BDDMockito where appropriate (automated via the Eclipse IDE Organize
Imports clean-up task).
Closes gh-34616
2025-03-18 16:35:57 +01:00
Sam Brannen
5ffd88cd89
Remove deprecated rowsExpected property of SqlQuery
...
Closes gh-34530
Co-authored-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-03 14:45:22 +01:00
Sam Brannen
e9345f16dc
Merge branch '6.2.x'
2025-03-03 14:34:06 +01:00
Sam Brannen
30d793cefe
Revise deprecation of SqlQuery.rowsExpected
...
Closes gh-34526
2025-03-03 14:33:19 +01:00
Yanming Zhou
78cc5df748
Deprecate unused "rowsExpected" property of SqlQuery for removal
...
See gh-34526
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-03 14:33:14 +01:00
Juergen Hoeller
b610711235
Merge branch '6.2.x'
2025-02-28 14:15:36 +01:00
Juergen Hoeller
c64dae3623
Avoid getTargetConnection call on transaction-aware Connection close
...
Closes gh-34484
2025-02-28 14:12:51 +01:00
Yanming Zhou
7f020118eb
Polish JdbcTemplate to use getter instead of field
...
1. align with others in the same source file
2. allow subclass to override
Closes: gh-34501
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-02-27 19:11:14 +01:00
Stéphane Nicoll
35dea59ce4
Polish "Prevent further configuration once SqlCall is compiled"
...
See gh-33729
2025-02-04 15:45:18 +01:00
Dan Sievewright
8810913f30
Prevent further configuration once SqlCall is compiled
...
This commit prevents AbstractJdbcCall to be further configured once it
is compiled.
See gh-33729
2025-02-04 15:43:01 +01:00
Johnny Lim
042b78f609
Fix Javadoc @code tags
...
Signed-off-by: Johnny Lim <izeye@naver.com>
2025-01-30 13:33:42 +09:00
Sébastien Deleuze
8299a617b9
Specify generic type nullness in spring-jdbc
...
See gh-34140
2025-01-14 12:35:02 +01:00
Brian Clozel
d28c0396c9
Update runtime hints predicates after GraalVM changes
...
As of gh-33847, method and field introspection is included by default
when a type is registered for reflection.
Many methods in ReflectionHintsPredicates are now mostly useless as their
default behavior checks for introspection.
This commit deprecates those methods and promotes instead invocation
variants. During the upgrade, developers should replace it for an
`onType` check if only reflection is required. If they were checking for
invocation, they should use the new 'onXInvocation` method.
Closes gh-34239
2025-01-13 15:34:34 +01:00
Juergen Hoeller
b8c3f03ec0
Merge branch '6.2.x'
2025-01-12 18:13:04 +01:00
Juergen Hoeller
25287205ba
Use ReentrantLock for compilation without synchronization
...
Closes gh-34133
2025-01-12 18:11:47 +01:00
Juergen Hoeller
2bb4df79c3
Ignore SQLServerException with "not supported" message
...
Closes gh-34233
2025-01-12 18:08:54 +01:00
Sébastien Deleuze
a73a819c82
Refine `@SuppressWarnings("NullAway")`
...
See gh-28797
2025-01-08 17:34:24 +01:00
Sébastien Deleuze
1c37e7092e
Use `@SuppressWarnings("NullAway.Init")``
...
This commit uses `@SuppressWarnings("NullAway.Init")` when
relevant.
See gh-34147
See gh-34151
2024-12-26 10:47:10 +01:00
Sébastien Deleuze
fbc759077c
Refine null-safety in the spring-jdbc module
...
Closes gh-34147
2024-12-24 16:17:24 +01:00
Sébastien Deleuze
0e85d950b3
Remove unneeded `@NonNull` annotations
...
See gh-28797
2024-12-19 11:07:33 +01:00
Sébastien Deleuze
bc5d771a06
Switch to JSpecify annotations
...
This commit updates the whole Spring Framework codebase to use JSpecify
annotations instead of Spring null-safety annotations with JSR 305
semantics.
JSpecify provides signficant enhancements such as properly defined
specifications, a canonical dependency with no split-package issue,
better tooling, better Kotlin integration and the capability to specify
generic type, array and varargs element null-safety. Generic type
null-safety is not defined by this commit yet and will be specified
later.
A key difference is that Spring null-safety annotations, following
JSR 305 semantics, apply to fields, parameters and return values,
while JSpecify annotations apply to type usages. That's why this
commit moves nullability annotations closer to the type for fields
and return values.
See gh-28797
2024-12-19 11:07:23 +01:00
youable
5494d78018
Polish
...
See gh-33891
2024-12-10 07:47:42 +01:00
Juergen Hoeller
307411631d
Ignore SQLFeatureNotSupportedException on releaseSavepoint
...
Closes gh-33987
2024-12-04 16:38:57 +01:00
Sam Brannen
f5c3f3522e
Simplify @EnumSource usage
2024-11-18 14:12:13 +01:00
Sam Brannen
d92c57f7a5
Merge branch '6.1.x'
2024-11-13 14:23:52 +01:00
Sam Brannen
4d792d0e45
Remove mentions of Joda-Time support
...
Since Joda-Time support was removed in Spring Framework 6.0, this commit
removes obsolete mentions of Joda-Time in the reference guide and Javadoc.
See gh-27426
Closes gh-33881
2024-11-13 14:16:14 +01:00
Sam Brannen
e3301dd1c4
Merge branch '6.1.x'
2024-11-03 16:17:43 +01:00
Sam Brannen
6bd4687706
Update copyright headers
...
See gh-33839
2024-11-03 16:14:41 +01:00
Tran Ngoc Nhan
07b12666b4
Fix typos in Javadoc and variable names
...
Closes gh-33839
2024-11-03 16:13:50 +01:00
Juergen Hoeller
e89218b39a
Merge branch '6.1.x'
2024-10-16 13:46:22 +02:00
Juergen Hoeller
11d4272ff4
Use Locale.ROOT consistently for toLower/toUpperCase
...
Closes gh-33708
2024-10-16 13:36:23 +02:00
Yanming Zhou
8941e2876e
Replace 'e.g.' with 'for example' in documentation and comments
...
Closes gh-33515
2024-09-26 14:11:17 +02:00
Juergen Hoeller
df5489b81a
Introduce optionalValue() method on ResultQuerySpec
...
Closes gh-33560
2024-09-20 19:16:02 +02:00
Sam Brannen
d749d2949d
Use new features from JUnit Jupiter 5.11
...
This commit primarily migrates to the new argumentSet() feature but also
applies additional polishing to our use of parameterized tests.
See gh-33395
2024-08-16 13:48:19 +02:00
Stéphane Nicoll
e27192e8ad
Merge branch '6.1.x'
2024-08-12 11:02:07 +02:00
Stéphane Nicoll
749145be2a
Polish "Fix predicate setup in test"
...
See gh-33368
2024-08-12 10:29:34 +02:00