Juergen Hoeller
d4af8c86b2
Polishing
8 years ago
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724)
8 years ago
igor-suhorukov
d5f358c33c
Polish: Array designators "[]" should be on the type, not the variable
...
(cherry picked from commit c782075)
8 years ago
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
8 years ago
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
8 years ago
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3)
8 years ago
Juergen Hoeller
f2dc075335
Defensively handle DatabaseMetaData.getConnection() returning null
...
Issue: SPR-16495
(cherry picked from commit 766e602 )
8 years ago
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
8 years ago
Juergen Hoeller
2654dbfcf1
Relaxed procedure existence check on Oracle (for non-exposed synonyms)
...
Issue: SPR-16478
(cherry picked from commit fc93f99)
8 years ago
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e)
8 years ago
Juergen Hoeller
8b5a013423
Polishing
8 years ago
Juergen Hoeller
64af3a0f64
Use ArrayList instead of LinkedList for known size
...
Issue: SPR-16378
8 years ago
Juergen Hoeller
d7959edb3e
Improve performance of some string operations
...
Issue: SPR-16293
8 years ago
Juergen Hoeller
723b2b19a6
Consistent checks in DataAccessUtils (plus nullability hints in javadoc)
...
Issue: SPR-16225
9 years ago
Juergen Hoeller
a58ef88f1d
SqlParameterSourceUtils.createBatch polishing (partial backport)
...
Issue: SPR-16215
9 years ago
Juergen Hoeller
640c8ff693
Polishing
9 years ago
Juergen Hoeller
d5f34ed641
Correctly handle NVARCHAR, LONGNVARCHAR and NCLOBs
...
Issue: SPR-16154
9 years ago
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
9 years ago
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
9 years ago
Juergen Hoeller
c752ba5b38
Polishing
9 years ago
Juergen Hoeller
a9a1f783c5
Polishing
9 years ago
Juergen Hoeller
65d52a4b97
Correctly process Postgresql ?| and ?& operator
...
Issue: SPR-15382
9 years ago
Juergen Hoeller
7f3d0b3e6e
Test for BeanPropertySqlParameterSource with collection
...
Issue: SPR-15390
(cherry picked from commit af6f688 )
9 years ago
Juergen Hoeller
21ac764e5c
Polishing
9 years ago
Juergen Hoeller
cfd9b3461f
Process NULLABLE column as integer instead of boolean
...
Issue: SPR-15333
(cherry picked from commit 79ea779)
9 years ago
Juergen Hoeller
b945e0f202
Polishing
...
(cherry picked from commit 6d6cf01 )
9 years ago
Juergen Hoeller
0f71f58616
Polishing
9 years ago
Juergen Hoeller
dfa8a7c358
Polishing
9 years ago
Juergen Hoeller
427fd9b19a
OracleTableMetaDataProvider tries Connection.unwrap as well
...
Issue: SPR-14670
9 years ago
Juergen Hoeller
b0ef80c3ff
Polishing
9 years ago
Juergen Hoeller
5017c05c23
Polishing
...
(cherry picked from commit e9019cd)
9 years ago
Juergen Hoeller
941f3e7166
Clear synchronization before triggering afterCompletion callbacks
...
Issue: SPR-15194
Issue: SPR-11590
(cherry picked from commit b630c9b )
9 years ago
Juergen Hoeller
e038631a6d
Support for read-only transactions through explicit SET TRANSACTION statement
...
Issue: SPR-15210
(cherry picked from commit 02195f5)
9 years ago
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36)
9 years ago
Juergen Hoeller
cc53d597c0
MySQLMaxValueIncrementer supports "useNewConnection" mode for INNODB tables
...
Issue: SPR-15107
9 years ago
Juergen Hoeller
de7eea4498
GenericTableMetaDataProvider falls back to single schema as default
...
Issue: SPR-15090
(cherry picked from commit de43497)
9 years ago
Philippe Marschall
55b44b4f86
Avoid use of double constructor of BigDecimal
...
Codacy warns about an Error Prone [1] use of the double constructor of
BigDecimal in tests. The reason given is that it is a source of
precision loss if the number does not have an exact double
representation. The recommendation is to use the String constructor of
BigDecimal instead as it does not require using a lossy argument.
This commit contains the following changes:
- replace usage of the double constructor of BigDecimal with the
String constructor of BigDecimal in JdbcTemplateQueryTests
- update the copyright year
[1] http://errorprone.info/bugpattern/BigDecimalLiteralDouble
Issue: SPR-15077
9 years ago
Philippe Marschall
131d2c2051
Remove String#toCharArray from ScriptUtils
...
ScriptUtils contains two calls to String#toCharArray for the sole
purpose to iterating over all chars in a String. Not only is this
unnecessary and can be replaced with String#charAt it also causes
additional allocator and heap pressure because String#toCharArray
rather than returning the backing array (which is gone in Java 9)
creates a copy.
This commit contains the following changes:
- remove String#toCharArray from ScriptUtils and replace with
String#charAt
Issue: SPR-15075
9 years ago
Juergen Hoeller
9cb4de8b5e
Polishing
9 years ago
Juergen Hoeller
2d83ca61e7
JdbcTemplate consistently delegates to getColumnMapRowMapper
...
Issue: SPR-15018
9 years ago
Juergen Hoeller
8190e7838f
SQLErrorCodesFactory provides unregisterDatabase method
...
This commit also migrates from a WeakHashMap to a ConcurrentReferenceHashMap, allowing for concurrent access to existing cache entries.
Issue: SPR-15006
(cherry picked from commit b825528 )
9 years ago
Juergen Hoeller
4e41f74925
Explicit support for retrieving enum values
...
Issue: SPR-14990
(cherry picked from commit 278a625)
9 years ago
Juergen Hoeller
a7ba63d425
Shared DefaultConversionService instance for simple fallback purposes
...
Issue: SPR-14948
(cherry picked from commit 80931b2)
10 years ago
Juergen Hoeller
b53ee13662
JdbcUtils explicitly extracts SQL date/time for JSR-310 LocalDate/Time
...
Issue: SPR-14898
(cherry picked from commit a0fee46)
10 years ago
Juergen Hoeller
bf0df54136
Consistent instanceof/casting of Class references
...
(cherry picked from commit ac80ac6 )
10 years ago
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
10 years ago
Juergen Hoeller
0ee8322947
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
(cherry picked from commit dc080cb)
10 years ago
Juergen Hoeller
5578a2e46d
Test for multi-character delimiter
...
Issue: SPR-14808
(cherry picked from commit 71d8338)
10 years ago
Juergen Hoeller
01e9307fb7
DataSourceTransactionManager triggers flush callbacks on registered transaction synchronizations
...
Issue: SPR-14847
(cherry picked from commit 2874066 )
10 years ago
Juergen Hoeller
9de28d640e
Polishing
...
(cherry picked from commit 3726c6f )
10 years ago