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
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
Stephane Nicoll
714ae2684c
Support for global separator in JDBC namespace
...
Previously, if a database needs to be initialized with several scripts
and many (or all) use a custom separator, said separator must be repeated
for each script.
This commit introduces a `separator` property at the parent element level
that can be used to customize the default separator. This is available
for both the `initialize-database` and `embedded-database` elements.
Issue: SPR-13792
2016-01-18 16:09:07 +01:00
Juergen Hoeller
e48ec4fcd3
StatementCreatorUtils always tries getParameterType on Oracle 12c driver
...
Issue: SPR-13825
2015-12-29 11:19:21 +01:00
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
2015-12-17 20:27:33 +01:00
Juergen Hoeller
78dad4cfc3
Jdbc4SqlXmlHandler returns null as documented (instead of throwing NPE)
...
Issue: SPR-13782
2015-12-09 16:09:11 +01:00
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
2015-12-09 12:28:09 +01:00
Juergen Hoeller
d2ad2c3af8
StatementCreatorUtils detects Microsoft SQL Server driver 4.0 as well
...
Issue: SPR-13772
2015-12-07 17:37:52 +01:00
Juergen Hoeller
e8a0ef0206
Polishing
2015-11-12 00:48:14 +01:00
Juergen Hoeller
cc06183668
SimpleJdbcCall reliably throws exception on missing stored procedure
...
Issue: SPR-13669
2015-11-12 00:47:46 +01:00
Juergen Hoeller
cca037a74d
Polishing
2015-11-02 14:42:46 +01:00
Juergen Hoeller
6685c78cea
Avoid NPE for anonymous SqlParameter in CallMetaDataContext
...
Issue: SPR-13628
2015-11-02 14:27:33 +01:00
Juergen Hoeller
81342f14d4
Declared JDBC operation compiled flag as volatile
...
Issue: SPR-13617
2015-10-28 14:28:32 +01:00
Juergen Hoeller
11d1f050e9
NamedParameterUtils skips Postgres-style ?? operator
...
Issue: SPR-13582
2015-10-26 22:47:12 +01:00
Tobias Stoeckmann
ed4197febb
Fix typo
...
Closes gh-887
2015-10-11 16:55:41 +02:00
Juergen Hoeller
b23c23279b
AbstractEmbeddedDatabaseConfigurer explicitly closes JDBC Connection on shutdown
...
Issue: SPR-13474
2015-09-21 20:42:50 +02:00
Sam Brannen
abc805819f
Polish Javadoc for EmbeddedDatabaseBuilder
2015-08-27 17:27:53 +02:00
Juergen Hoeller
5e43f9b88f
Deprecate Commons DBCP 1.x support along with Commons Pool 1.x
...
Issue: SPR-12532
2015-08-27 12:37:21 +02:00
Juergen Hoeller
5f3559fbad
Call statement support for SAP HANA
...
Issue: SPR-13381
2015-08-25 17:54:38 +02:00
Juergen Hoeller
35e1eca9e8
BeanPropertyRowMapper logs in case of no corresponding property as well
...
Issue: SPR-13323
2015-08-25 17:54:26 +02:00
Sam Brannen
d54aab2338
Log connection URL for embedded databases
...
Prior to this commit, EmbeddedDatabaseFactory logged the name of an
embedded database just before it was created; however, the name alone
is not sufficient for connecting to the database via external tools
such as the H2 Web Console.
This commit updates EmbeddedDatabaseFactory to make it easier to
connect to embedded databases via external tools by logging the
complete connection URL for an embedded database as it's being created.
In addition, EmbeddedDatabaseFactory now logs when an embedded database
is being shut down.
Issue: SPR-13370
2015-08-19 22:22:11 +02:00
Sam Brannen
2025d5c35e
Polish Javadoc and log messages for embedded databases
2015-08-19 21:44:07 +02:00
Kazuki Shimizu
93919204a1
Add missing @since tag
...
Issue: SPR-12801
2015-08-15 09:07:37 +02:00
Juergen Hoeller
bec3b0fa1a
Deprecate JdkVersion (for optimistic compatibility with newer JDK generations)
...
Issue: SPR-13312
2015-08-12 16:14:43 +02:00
Juergen Hoeller
edd6e76b9f
Polishing
2015-07-21 22:58:34 +02:00
ndebeiss
629bcb6599
Support single quotes nested in double quotes in SQL scripts
...
Some databases such as Oracle permit double quoted column aliases that
contain case-sensitive characters, single quotes, and other special
characters; however, prior to this commit, SqlScripts interpreted a
single quote nested within double quotes as the start of a string
literal resulting in improper parsing.
This commit addresses this issue by ensuring that double quoted strings
such as column aliases are properly parsed even when containing single
quotes.
Issue: SPR-13218
2015-07-14 15:01:01 +03:00
Juergen Hoeller
e0329306df
JdbcTemplate's queryForObject allows for specifying primitive types as well
...
Issue: SPR-13220
2015-07-13 21:30:57 +02:00
Juergen Hoeller
41b58584ea
BeanPropertyRowMapper uses US locale for lower-case conversion by default
...
Issue: SPR-13216
2015-07-13 14:59:43 +02:00
Juergen Hoeller
b4095c3e1d
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-05-20 14:34:16 +02:00
Stephane Nicoll
8dec8823fb
Allow parameter name binding for SimpleJdbcCall
...
Update SimpleJdbcCall to offer a way to use named parameters binding
instead of the simple `?` binding it offers thus far.
Issue: SPR-12801
2015-05-15 09:54:03 +02:00