Juergen Hoeller
723b2b19a6
Consistent checks in DataAccessUtils (plus nullability hints in javadoc)
...
Issue: SPR-16225
2017-11-26 17:55:03 +01:00
Juergen Hoeller
a58ef88f1d
SqlParameterSourceUtils.createBatch polishing (partial backport)
...
Issue: SPR-16215
2017-11-20 13:33:50 +01:00
Juergen Hoeller
640c8ff693
Polishing
2017-11-14 12:31:01 +01:00
Juergen Hoeller
d5f34ed641
Correctly handle NVARCHAR, LONGNVARCHAR and NCLOBs
...
Issue: SPR-16154
2017-11-14 12:30:13 +01:00
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
Juergen Hoeller
c752ba5b38
Polishing
2017-07-19 23:55:47 +02:00
Juergen Hoeller
a9a1f783c5
Polishing
2017-04-13 15:59:15 +02:00
Juergen Hoeller
65d52a4b97
Correctly process Postgresql ?| and ?& operator
...
Issue: SPR-15382
2017-04-13 15:59:07 +02:00
Juergen Hoeller
21ac764e5c
Polishing
2017-03-24 13:41:34 +01:00
Juergen Hoeller
cfd9b3461f
Process NULLABLE column as integer instead of boolean
...
Issue: SPR-15333
(cherry picked from commit 79ea779 )
2017-03-24 13:39:10 +01:00
Juergen Hoeller
b945e0f202
Polishing
...
(cherry picked from commit 6d6cf01 )
2017-02-28 14:00:59 +01:00
Juergen Hoeller
0f71f58616
Polishing
2017-02-18 00:52:12 +01:00
Juergen Hoeller
427fd9b19a
OracleTableMetaDataProvider tries Connection.unwrap as well
...
Issue: SPR-14670
2017-02-16 15:57:39 +01:00
Juergen Hoeller
b0ef80c3ff
Polishing
2017-02-16 14:20:40 +01:00
Juergen Hoeller
5017c05c23
Polishing
...
(cherry picked from commit e9019cd )
2017-02-10 11:47:28 +01:00
Juergen Hoeller
e038631a6d
Support for read-only transactions through explicit SET TRANSACTION statement
...
Issue: SPR-15210
(cherry picked from commit 02195f5 )
2017-02-02 21:20:17 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Juergen Hoeller
cc53d597c0
MySQLMaxValueIncrementer supports "useNewConnection" mode for INNODB tables
...
Issue: SPR-15107
2017-01-12 22:53:10 +01:00
Juergen Hoeller
de7eea4498
GenericTableMetaDataProvider falls back to single schema as default
...
Issue: SPR-15090
(cherry picked from commit de43497 )
2017-01-12 22:49:32 +01:00
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
2017-01-03 18:02:45 +01:00
Juergen Hoeller
9cb4de8b5e
Polishing
2016-12-20 21:11:07 +01:00
Juergen Hoeller
2d83ca61e7
JdbcTemplate consistently delegates to getColumnMapRowMapper
...
Issue: SPR-15018
2016-12-19 01:49:58 +01:00
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 )
2016-12-19 01:01:41 +01:00
Juergen Hoeller
4e41f74925
Explicit support for retrieving enum values
...
Issue: SPR-14990
(cherry picked from commit 278a625 )
2016-12-19 00:56:44 +01:00
Juergen Hoeller
a7ba63d425
Shared DefaultConversionService instance for simple fallback purposes
...
Issue: SPR-14948
(cherry picked from commit 80931b2 )
2016-12-01 14:10:39 +01:00
Juergen Hoeller
b53ee13662
JdbcUtils explicitly extracts SQL date/time for JSR-310 LocalDate/Time
...
Issue: SPR-14898
(cherry picked from commit a0fee46 )
2016-12-01 14:09:53 +01:00
Juergen Hoeller
bf0df54136
Consistent instanceof/casting of Class references
...
(cherry picked from commit ac80ac6 )
2016-10-31 11:50:59 +01:00
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
2016-10-31 11:50:36 +01:00
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 )
2016-10-31 11:50:15 +01:00
Juergen Hoeller
01e9307fb7
DataSourceTransactionManager triggers flush callbacks on registered transaction synchronizations
...
Issue: SPR-14847
(cherry picked from commit 2874066 )
2016-10-31 11:44:17 +01:00
Juergen Hoeller
9de28d640e
Polishing
...
(cherry picked from commit 3726c6f )
2016-10-21 12:59:59 +02:00
Juergen Hoeller
52447efb97
Avoid getParameterType use with Oracle 12c driver by default
...
Issue: SPR-14629
Issue: SPR-14574
Issue: SPR-14191
2016-08-26 17:29:00 +02:00
Juergen Hoeller
77f22e9674
DataSource adapters expose setCatalog/setSchema next to setUsername/setPassword
...
Issue: SPR-14501
(cherry picked from commit 610bdf1 )
2016-07-21 14:13:37 +02:00
Juergen Hoeller
36e1c82ef5
Backported refinements and polishing
2016-07-20 21:46:25 +02:00
Juergen Hoeller
3663aa675a
GenericSqlQuery configured with RowMapper instance
...
Issue: SPR-14489
(cherry picked from commit 7287bae )
2016-07-20 21:40:48 +02:00
Juergen Hoeller
69dd40ec89
Javadoc fixes and pruning of deprecated references
2016-07-15 22:47:05 +02:00
Juergen Hoeller
92d78c10a2
Polishing (backported from master)
2016-07-06 17:13:18 +02:00
Juergen Hoeller
7c96059ca3
BeanPropertyRowMapper uses ConversionService for date-time support
...
Issue: SPR-13888
2016-06-09 19:19:08 +02:00
Juergen Hoeller
ca9ffa2012
Convenience constructors for CompositeDatabasePopulator
...
Issue: SPR-14313
2016-06-01 22:02:31 +02:00
Sanghyuk Jung
06e3ee6820
Polish javadoc in TableMetaDataContext
...
Closes gh-1065
2016-05-26 07:50:17 +02:00
Stephane Nicoll
7d4d3db0dd
Add alternative database name for HANA
...
Issue: SPR-14261
2016-05-23 07:43:49 +02:00
Juergen Hoeller
74608e6b49
Polishing
2016-04-12 16:03:57 +02:00
Juergen Hoeller
537193a4e0
Consistent license header
2016-04-11 20:49:38 +02:00
Juergen Hoeller
6573e9142c
Polishing
2016-04-05 12:17:21 +02:00
Juergen Hoeller
797f5dbba6
StatementCreatorUtils handles Types.BOOLEAN through PreparedStatement.setBoolean
...
Issue: SPR-14116
2016-04-05 11:12:36 +02:00
Juergen Hoeller
517ebd1d3e
Consistent formatting
2016-03-24 19:22:50 +01:00
Juergen Hoeller
0b1639d963
JdbcTemplate passes negative values other than -1 on to the driver (for MySQL's special values)
...
Issue: SPR-14028
2016-03-11 14:59:00 +01:00
Cory Klein
71cf7b4053
Fix typo
...
Closes gh-992
2016-03-09 08:53:47 +01:00
Juergen Hoeller
923534595c
ScriptUtils.executeSqlScript logs SQLWarnings at debug level
...
Issue: SPR-13959
2016-02-18 17:37:22 +01:00