Juergen Hoeller
e5ccdfb029
Polishing
...
(cherry picked from commit ce4e795 )
2015-05-11 20:12:46 +02:00
Juergen Hoeller
925c46e445
Polishing
...
Issue: SPR-12476
(cherry picked from commit c89d8ec )
2014-11-27 21:26:25 +01:00
Juergen Hoeller
a6a837bc3b
Revised SqlRowSet javadoc
...
Issue: SPR-12476
2014-11-27 17:59:49 +01:00
Juergen Hoeller
98cbae7fdc
Polishing
...
Issue: SPR-12462
(cherry picked from commit 5be50c8 )
2014-11-24 19:11:22 +01:00
Juergen Hoeller
feb6552d2c
Avoid early initialization of Derby driver (for "derby.stream.error.method" system property)
...
Issue: SPR-12437
2014-11-22 23:21:31 +01:00
Juergen Hoeller
76ab5b9de2
Consistent reset of resource holders on doBegin failure
...
Issue: SPR-12280
(cherry picked from commit 9758bc7 )
2014-10-07 00:39:45 +02:00
Juergen Hoeller
e819999c08
Polishing
2014-09-17 19:10:33 +02:00
Juergen Hoeller
3038f03fee
Polishing
...
(cherry picked from commit 4db258b )
2014-08-11 23:34:49 +02:00
Juergen Hoeller
36918d6bb7
Polishing (includes varargs for selected setters)
2014-08-11 22:12:26 +02:00
Juergen Hoeller
c0a4631fd1
Polishing
2014-07-29 10:10:48 +02:00
Juergen Hoeller
44c61e5d5f
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
(cherry picked from commit c16032b )
2014-07-01 14:22:56 +02:00
Juergen Hoeller
3ae6c0f401
ResultSetWrappingSqlRowSet preserves first matching column per name (as defined in ResultSet's javadoc)
...
Issue: SPR-11786
(cherry picked from commit 0728e32 )
2014-05-15 15:10:12 +02:00
Juergen Hoeller
a5606a6c46
Polishing
2014-04-29 23:39:17 +02:00
Juergen Hoeller
9e2060707a
General defensiveness about the bootstrap ClassLoader (i.e. null ClassLoader)
...
Issue: SPR-11721
2014-04-27 22:29:08 +02:00
Juergen Hoeller
ffaac0ecf3
Polishing
2014-04-18 13:23:05 +02:00
Juergen Hoeller
4ac4630b0b
Polishing
2014-02-12 15:15:05 +01:00
Juergen Hoeller
3da9a3193c
Polishing
...
(cherry picked from commit 749b65b )
2014-02-07 18:04:14 +01:00
Juergen Hoeller
036bd791f0
Introduced "spring.jdbc.getParameterType.ignore" property
...
Issue: SPR-11386
(cherry picked from commit 60c1905 )
2014-02-04 16:53:44 +01:00
Juergen Hoeller
62fd12c527
Restored Java 5 compatibility through avoiding Collections.newSetFromMap
...
Issue: SPR-11313
2014-01-15 14:14:50 +01:00
Juergen Hoeller
e08f743301
ResourceDatabasePopulator's setScripts takes varargs
...
(cherry picked from commit e3017c3 )
2013-12-23 23:05:34 +01:00
Juergen Hoeller
551364f668
Polishing
2013-12-20 00:40:14 +01:00
Juergen Hoeller
6fb10981b0
Fixed extractOutputParameters to properly extract ResultSet in all cases
...
Issue: SPR-11076
(cherry picked from commit 3ff3805 )
2013-12-11 17:45:51 +01:00
Juergen Hoeller
c3907cdae5
Added 546 to Sybase data integrity violation codes
...
Issue: SPR-11097
(cherry picked from commit 2d2226b )
2013-12-11 17:44:47 +01:00
Juergen Hoeller
2e15f94cf2
Optimized use of JDBC 3.0 ParameterMetaData.getParameterType, caching information about drivers which do not support that feature
...
Issue: SPR-11100
(cherry picked from commit 4c8a789 )
2013-12-10 13:14:13 +01:00
Juergen Hoeller
e1a065906e
Avoid unnecessary char[] allocation in NamedParameterUtils
...
Issue: SPR-11042
(cherry picked from commit 1dc7ff8 )
2013-11-01 23:02:56 +01:00
Juergen Hoeller
b62652aca1
Reduced "getParameterType call not supported" log message to single line
...
Issue: SPR-10185
(cherry picked from commit 41f041e )
2013-10-17 21:09:11 +02:00
Juergen Hoeller
a302c4ac45
Polishing
...
(cherry picked from commit 52cca48 )
2013-10-04 23:31:18 +02:00
Juergen Hoeller
30b3e24a32
Removed S0 from BadSqlGrammarException codes
...
S0 doesn't seem to be universally used for SQL grammar problems: see MS SQL Server's RAISERROR. This was reported years back; not sure why the fix didn't actually appear in the codebase back then.
Issue: SPR-10902
(cherry picked from commit d9b6203 )
2013-09-25 13:05:06 +02:00
Fedor Bobin
6fb2c72a55
Allow cursor returns from SQL functions
...
Update CallMetaDataContext to use the metaDataProvider
createDefaultOutParameter method when creating a SqlOutParameter as
a result of a SQL function call.
This change allows Spring to support Oracle cursor types when returned
from functions.
Issue: SPR-10606
(cherry picked from c16b21)
2013-09-24 16:09:09 -07:00
Grzegorz Rożniecki
8f4221deb3
Fix SimpleJdbcCall and SimpleJdbcInsert Javadoc
...
Change "fluid" interface to "fluent" and "string" to "chain", plus fix
few typos in Javadoc.
Issue: SPR-10792
(cherry picked from commit 2344412 )
2013-08-06 14:44:01 -07:00
Juergen Hoeller
c1dc4e2c75
Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError
...
Issue: SPR-10755
(cherry picked from commit 2e4eb9f )
2013-07-25 10:45:58 +02:00
Juergen Hoeller
615315728b
Fixed BeanPropertyRowMapper to only prefix actual upper-case letters with underscores
...
Issue: SPR-10547
(cherry picked from commit c8b071c )
2013-05-16 14:34:44 +02:00
Juergen Hoeller
cc4f1328ee
Introduced public ArgumentPreparedStatementSetter and ArgumentTypePreparedStatementSetter classes
...
Issue: SPR-10375
2013-03-19 11:28:25 +01:00
Juergen Hoeller
6b4c29cd24
Defensively uses JDBC 3.0 getParameterType call for Oracle driver compatibility
...
Issue: SPR-10385
2013-03-19 11:14:33 +01:00
Phillip Webb
05765d7520
Replace EasyMock with Mockito
...
Issue: SPR-10126
2013-03-06 11:06:15 -08:00
Juergen Hoeller
d3c0dd1c7e
Minor javadoc updates
2013-03-01 21:55:01 +01:00
Juergen Hoeller
99c7f25b05
Deprecated OracleLobHandler in favor of DefaultLobHandler for the Oracle 10g driver and higher
...
Issue: SPR-10339
2013-03-01 21:55:00 +01:00
Juergen Hoeller
2bd584ca75
Added "createTemporaryLob" flag to DefaultLobHandler, using JDBC 4.0's createBlob/Clob mechanism
...
Issue: SPR-10339
2013-03-01 21:54:59 +01:00
Juergen Hoeller
6a043e3ea1
Mentioning JDBC 4's unwrap method for obtaining the native connection now
2013-03-01 16:05:27 +01:00
Juergen Hoeller
1716c171d8
LazyConnectionDataSourceProxy catches setReadOnly exception analogous to DataSourceUtils
...
Also mentioning JDBC 4's unwrap method for obtaining the native connection now.
Issue: SPR-10312
2013-03-01 16:04:10 +01:00
Carson McDonald
6a45d5bfb0
Minor changes to fix typos
2013-02-21 10:37:51 -08:00
Juergen Hoeller
acffcdaa01
Polished *JdbcCall/Insert classes
2013-02-15 18:23:10 +01:00
Juergen Hoeller
c1c27e7142
Deprecated JdbcTemplate's queryForInt/Long operations in favor of queryForObject (following NamedParameterJdbcTemplate)
...
Issue: SPR-10257
2013-02-09 17:06:30 +01:00
Juergen Hoeller
3fa6723748
Added useful query variants without parameters to NamedParameterJdbcTemplate, for convenience in DAOs
...
Also deprecated NamedParameterJdbcTemplate's queryForInt/Long operations in favor of queryForObject.
Issue: SPR-10256
Issue: SPR-10257
2013-02-09 16:59:38 +01:00
Juergen Hoeller
8a4ce142c4
SQLErrorCodeSQLExceptionTranslator tries to find SQLException with actual error code, looping through the causes.
...
Issue: SPR-10260
2013-02-06 21:32:42 +01:00
Phillip Webb
f464a45ba4
Polish formatting
...
Minor formatting polish across that codebase. Primarily fixing
whitespace issues.
2013-02-04 10:35:25 -08:00
Phillip Webb
d89e30b864
Fix unnecessary @SupressWarnings annotations
2013-01-29 15:37:25 -08:00
Phillip Webb
065b1c0e46
Fix unused local variable warnings
2013-01-25 14:35:19 -08:00
Phillip Webb
6a1e841952
Fix unused type compiler warnings
2013-01-25 14:35:07 -08:00
Juergen Hoeller
0dcc0f2227
Added further MySQL error code for DataIntegrityViolationException
...
Issue: SPR-9237
2013-01-23 22:00:33 +01:00