Juergen Hoeller
355fa258bd
Polishing
3 years ago
Juergen Hoeller
3d28c024c5
Handle JDBC warnings in case of a statement exception as well
...
Closes gh-23106
(cherry picked from commit 3b899fe7e2 )
3 years ago
Sam Brannen
2e51aa250e
Update copyright headers
3 years ago
Juergen Hoeller
40a9ae9d14
Recognize error code 2628 as data integrity violation (MSSQL 2019)
...
Closes gh-30681
(cherry picked from commit c634acd9ff )
3 years ago
Juergen Hoeller
259bd5250d
Consistent javadoc references to JdbcTransactionManager
3 years ago
Sam Brannen
b9fe095f60
Clearly document that DataClassRowMapper supports Java records
...
Closes gh-29814
3 years ago
Sam Brannen
6b17014b5a
Polish RowMapper tests
3 years ago
Sam Brannen
878246b09b
Avoid confusing terminology in BeanPropertyRowMapper
...
Prior to this commit, the term "field" was sometimes used to refer to a
database column and sometimes used to refer to a bean property, which
lead to confusion in the Javadoc as well as within the code.
This commit addresses this by avoiding use of the term "field".
3 years ago
Sam Brannen
80c10fad92
Polish RowMapper tests
3 years ago
Sam Brannen
498a0d286f
Clarify semantics of primitivesDefaultedForNullValue in BeanPropertyRowMapper
...
Closes gh-29923
3 years ago
Sam Brannen
e9d45d1b49
Polish Javadoc for RowMappers
3 years ago
Juergen Hoeller
937ab5f4b2
Polishing (aligned with main)
3 years ago
Juergen Hoeller
064c618050
Drop SQLExceptionSubclassFactory and unify SQLStateSQLExceptionTranslator tests
3 years ago
Sam Brannen
fa0a4a0a46
Improve Javadoc for SqlLobValue
3 years ago
Sam Brannen
41a6b7ec20
Update copyright headers for source code changed since August 2022
...
The changes in this commit were performed using the newly introduced
update_copyright_headers.sh script.
3 years ago
Juergen Hoeller
6f64cfd1e5
Test square brackets with index/key expressions
...
See gh-27925
3 years ago
Johnny Lim
1c1a0afbed
Use AssertJ static imports consistently in 5.3.x
...
Closes gh-29282
3 years ago
Marc Wrobel
ce49068ff9
Fix links in Javadoc and reference docs
...
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349 : this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up nohttp allowlist.lines
Closes gh-28876
3 years ago
Marc Wrobel
92a231cf91
Fix typos in Javadoc, reference docs, and code
...
Closes gh-28822
3 years ago
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
4 years ago
Marc Wrobel
bca104798b
Fix and improve Javadoc in spring-jdbc
...
Closes gh-28796
4 years ago
Juergen Hoeller
5247eeba84
Support LocalDate/Time for SQL type mappings
...
Closes gh-28778
4 years ago
Sam Brannen
d274e893a6
Remove superfluous static declaration for enum, annotation, & interface
4 years ago
Sam Brannen
5650e20edd
Polishing
4 years ago
Johnny Lim
2885177f5b
Add @since tag for new CannotGetJdbcConnectionException constructor
...
See gh-28669
Closes gh-28738
4 years ago
Stephane Nicoll
e98b602d4f
Polish "Fix DataSourceUtils inconsistent exception handling"
...
See gh-28669
4 years ago
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>
4 years ago
Juergen Hoeller
d7be1e0dab
Polishing
4 years ago
Sam Brannen
1beb7068f6
Use new AssertJ exception assertions
4 years ago
Sam Brannen
59c7bb1f86
Use Arrays.toString instead of Arrays.asList when generating Strings
4 years ago
Juergen Hoeller
c81e11d537
Polishing
4 years ago
Sam Brannen
e26d8839b3
Stop referring to features as Java 6/7 features where unnecessary
4 years ago
Juergen Hoeller
90103b0ae9
Consistent support for direct column matches in DataClassRowMapper
...
Closes gh-28243
4 years ago
Juergen Hoeller
46363c337b
Avoid confusing debug log entries with DataClassRowMapper
...
Closes gh-28179
4 years ago
Sam Brannen
f8a5a8d7be
Use modern language features in tests
4 years ago
Sam Brannen
fb312d0ed5
Improve Javadoc for DatabasePopulator
...
See gh-27008
4 years ago
Sam Brannen
420c4f3df3
Explicitly test BeanPropertyRowMapper.underscoreName(String)
...
See gh-27929
4 years ago
Sam Brannen
420ff46b2a
Polishing
4 years ago
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
4 years ago
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
4 years ago
Sam Brannen
90072d06fb
Test H2SequenceMaxValueIncrementer against all H2 2.0.x compatibility modes
...
See gh-27870
4 years ago
Sam Brannen
75e1811470
Ensure H2SequenceMaxValueIncrementer works with all H2 compatibility modes
...
See gh-27870
4 years ago
Sam Brannen
18781e58ac
Polish contribution
...
See gh-27870
4 years ago
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
4 years ago
Stephane Nicoll
b67e97d388
Polish
4 years ago
Stephane Nicoll
23babe27bb
Polish "Add tests for AbstractRoutingDataSource"
...
See gh-1330
4 years ago
Kazuki Shimizu
bcb9f159ca
Add tests for AbstractRoutingDataSource
...
See gh-1330
4 years ago
Stephane Nicoll
544f357661
Polish "Refine StoredProcedure#declareParameter Javadoc"
...
See gh-1000
4 years ago
awgtek
ca4f338d75
Refine StoredProcedure#declareParameter Javadoc
...
See gh-1000
4 years ago
Sam Brannen
0853baaa3f
Fix Javadoc in [NamedParameter]JdbcOperations.queryForObject methods
...
This commit fixes the Javadoc in all queryForObject(...) methods in
JdbcOperations and NamedParameterJdbcOperations regarding what kinds of
exceptions are thrown under which conditions.
Closes gh-27559
4 years ago