Juergen Hoeller
11fc086309
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
(cherry picked from commit 9c08a48 )
8 years ago
Juergen Hoeller
1ab9e2ceda
Polishing
8 years ago
Juergen Hoeller
99534a31ba
MapSqlParameterSource.addValue declares nullable value parameter
...
Issue: SPR-16843
(cherry picked from commit d9c6318 )
8 years ago
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9 )
8 years ago
Juergen Hoeller
062a15fbd7
Latest applicable dependency updates (Jetty 9.4.11, Netty 4.1.25, Hibernate ORM 5.1.14, HSQLDB 2.4.1, Derby 10.14.2.0, HtmlUnit 2.31, Selenium 3.12)
8 years ago
Juergen Hoeller
c04c8a2472
Polishing
8 years ago
nkjackzhang
98335b41f7
Fix a typo in javadoc
...
Closes gh-1824
8 years ago
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1 )
8 years ago
Johnny Lim
a39938d251
Polish DatabaseStartupValidator
...
(cherry picked from commit 8f21cb1 )
8 years ago
Juergen Hoeller
7068282e1f
Remove bogus DataSource test from JpaTransactionManagerTests
...
(cherry picked from commit ff53d78 )
8 years ago
Juergen Hoeller
475c4d4425
Polishing
8 years ago
Juergen Hoeller
0bc01fcd55
Polishing
8 years ago
Johnny Lim
8dd0974e2f
Rename SingleColumnRowMapperTest to align with the other tests
8 years ago
Juergen Hoeller
9a722b4558
Pass type name into PreparedStatement.setNull in case of Types.OTHER
...
Issue: SPR-16669
8 years ago
nkjackzhang
82cb5dbf2b
NamedParameterUtils.parseSqlStatement should parse :{x} style parameter correctly
...
In my opinion, we should parse ":{x}" style parameter as "x" is parameter using "NamedParameterUtils.parseSqlStatement",
so the condition "j - i > 2" is the correct condition, not "j - i > 3", because if "i" is the index of
":" in ":{x}", and "j" is the index of "}" in ":{x}", "j - i == 3" is true.
Also add a test case for SPR-16663.
8 years ago
Juergen Hoeller
b2d87abcbb
Polishing
8 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
8 years ago
Juergen Hoeller
c441d60d1d
Upgrade to Kotlin 1.2.31 and RxJava 2.1.12
...
Includes H2 1.4.197 and Selenium HtmlUnit Driver 2.29.3 as well.
8 years ago
Juergen Hoeller
702b27e1e4
Polishing
8 years ago
Juergen Hoeller
2c7efbb9d0
Deprecate TableMetaDataContext.getSimulationQueryForGetGeneratedKey
8 years ago
Juergen Hoeller
b7c423813d
CallMetaDataContext handles 'procedureColumnResult' as return parameter
...
Issue: SPR-16611
8 years ago
Juergen Hoeller
4fef1fe820
Polishing
8 years ago
igor-suhorukov
2f9d0a7de8
simplify boolean NOT operation
8 years ago
igor-suhorukov
32b689a994
use StringBuilder for complex string concatenation
8 years ago
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
8 years ago
Juergen Hoeller
50253f670e
Quick access to volatile field (full synchronization only for lazy init)
...
Issue: SPR-16570
8 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
8 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
8 years ago
Juergen Hoeller
20287e0cb0
Polishing
8 years ago
Juergen Hoeller
82515a3f01
Consistent incrementer arrangement for PostgreSQL, DB2 and SAP HANA
...
Includes related polishing in core.metadata and datasource.embedded and a revision of the corresponding database definitions in sql-error-codes.
Issue: SPR-16558
8 years ago
Juergen Hoeller
4a4f2c2f08
Drop version check in isGetGeneratedKeysSimulated (for PostgreSQL 10)
...
Issue: SPR-16556
8 years ago
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
8 years ago
Juergen Hoeller
3732032ee4
Customizable PreparedStatementCreator in NamedParameterJdbcTemplate
...
Issue: SPR-16050
8 years ago
igor-suhorukov
c782075a13
Polish: Array designators "[]" should be on the type, not the variable
8 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
8 years ago
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40 )
8 years ago
Juergen Hoeller
8d3264f680
Prefer List.sort(Comparator) over Collections.sort(List, Comparator)
8 years ago
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
8 years ago
Juergen Hoeller
766e6028d7
Defensively handle DatabaseMetaData.getConnection() returning null
...
Issue: SPR-16495
8 years ago
Kazuki Shimizu
8c623c8a42
Supports ConversionService on SingleColumnRowMapper
...
Issue: SPR-16483
8 years ago
igor-suhorukov
0ee505b73e
Polish: assertion arguments should be passed in the correct order,
...
use assertNull instead of assertEquals(null, value),
declare delta as double value in assertEquals
8 years ago
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
8 years ago
Juergen Hoeller
fc93f99f53
Relaxed procedure existence check on Oracle (for non-exposed synonyms)
...
Issue: SPR-16478
8 years ago
Stephane Nicoll
991eb4858e
Update copyright header
8 years ago
igor-suhorukov
e381514b07
Collection.isEmpty() should be used to test for emptiness
...
Closes gh-1670
8 years ago
Juergen Hoeller
ac7a699356
NamedParameterUtils.isParameterSeparator checks for non-ASCII characters
...
Issue: SPR-16472
8 years ago
Johnny Lim
df3241e072
Polish SqlParameter.sqlTypesToAnonymousParameterList()
...
Closes gh-1657
8 years ago
Juergen Hoeller
9d0e62ef68
Javadoc format and related polishing
8 years ago
Juergen Hoeller
572c668726
Polishing
8 years ago
Juergen Hoeller
44fd2d96cc
Restore original separator set (but keep new isParameterSeparator impl)
...
Issue: SPR-16340
8 years ago