Juergen Hoeller
473061ec1e
Added explicit note on thread safety to JdbcTemplate variants
...
Issue: SPR-11478
2014-02-28 19:00:31 +01:00
Juergen Hoeller
cead06a3d9
Polishing
2014-02-12 00:12:52 +01:00
Juergen Hoeller
8c0e3040c2
Polishing
2014-02-07 18:06:13 +01:00
Juergen Hoeller
749b65b0b2
Polishing
2014-02-07 17:42:37 +01:00
Juergen Hoeller
8a6b095204
Polishing
...
Issue: SPR-11386
2014-02-04 17:41:42 +01:00
Juergen Hoeller
60c1905cdd
Introduced "spring.jdbc.getParameterType.ignore" property
...
Issue: SPR-11386
2014-02-04 16:44:08 +01:00
Sam Brannen
8c3868a8dd
Polish Javadoc for EmbeddedDatabaseFactory
2014-01-31 13:33:55 +01:00
Juergen Hoeller
c2303854d1
Polishing
...
Issue: SPR-11372
2014-01-31 13:17:55 +01:00
Juergen Hoeller
e3017c30bb
ResourceDatabasePopulator's setScripts takes varargs
2013-12-23 22:00:30 +01:00
Juergen Hoeller
d032c20a54
Polishing
...
Issue: SPR-10469
2013-12-23 21:59:21 +01:00
Juergen Hoeller
b4d6e27fb3
Upgraded embedded Derby support to 10.6+ and build to 10.10
...
Issue: SPR-10469
2013-12-23 21:58:42 +01:00
Juergen Hoeller
3ff3805ed6
Fixed extractOutputParameters to properly extract ResultSet in all cases
...
Issue: SPR-11076
2013-12-11 12:28:54 +01:00
Juergen Hoeller
be63c07b2e
Polishing
2013-12-10 13:26:52 +01:00
Juergen Hoeller
4c8a7899f2
Optimized use of JDBC 3.0 ParameterMetaData.getParameterType, caching information about drivers which do not support that feature
...
Issue: SPR-11100
2013-12-10 01:38:57 +01:00
Phillip Webb
043a41e382
Consistent whitespace after imports
...
Update code to have a consistent number of new-line characters after
import statements.
2013-11-26 15:14:43 -08:00
Juergen Hoeller
1e6f2e79b9
Adapted getXmlAsSource implementation to avoid compilation failure in IntelliJ IDEA
2013-11-26 01:41:54 +01:00
Eric Dahl
e9f78f6043
Fix various typos
...
Fix a variety of typos throughout the project, primarily in
comments (javadoc or otherwise) but also in a handful of log messages
and a couple exception messages.
ISSUE: SPR-11123
2013-11-25 15:58:27 -08:00
Phillip Webb
59002f2456
Fix remaining compiler warnings
...
Fix remaining Java compiler warnings, mainly around missing
generics or deprecated code.
Also add the `-Werror` compiler option to ensure that any future
warnings will fail the build.
Issue: SPR-11064
2013-11-25 12:52:42 -08:00
Alex Yursha
6a1ca41cb7
Put accidentally deleted LF in place
2013-11-09 01:57:27 +03:00
Alex Yursha
6900645d59
Fix a typo in package description
2013-11-09 01:26:59 +03:00
Juergen Hoeller
13ed423387
Polished exception messages
...
Issue: SPR-11042
2013-11-01 23:07:50 +01:00
Juergen Hoeller
1dc7ff8604
Avoid unnecessary char[] allocation in NamedParameterUtils
...
Issue: SPR-11042
2013-11-01 22:38:55 +01:00
Sam Brannen
7ca09d7e3d
Polish NamedParameterUtils
...
- Fixed typos in Javadoc
- Formatted Javadoc
2013-10-29 23:44:53 +01:00
Juergen Hoeller
c38bde259a
Polishing
...
Issue: SPR-10185
2013-10-16 01:51:48 +02:00
Juergen Hoeller
41f041e6ae
Reduced "getParameterType call not supported" log message to single line
...
Issue: SPR-10185
2013-10-14 23:31:53 +02:00
Juergen Hoeller
52cca48f40
Polishing
2013-10-04 22:53:49 +02:00
Juergen Hoeller
d9b620381e
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
2013-09-25 12:30:01 +02:00
Fedor Bobin
dac6aaecc8
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
2013-09-24 16:18:09 -07:00
Grzegorz Rożniecki
2344412e04
Fix SimpleJdbcCall and SimpleJdbcInsert Javadoc
...
Change "fluid" interface to "fluent" and "string" to "chain", plus fix
few typos in Javadoc.
Issue: SPR-10792
2013-08-06 14:42:49 -07:00
Juergen Hoeller
2e4eb9fc10
Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError
...
Issue: SPR-10755
2013-07-24 15:29:10 +02:00
Phillip Webb
6a3a361376
Include specific SQL statements in batch exception
...
Refine the SQL statements contained in exceptions thrown from batch
updates based on BatchUpdateException.getUpdateCounts().
Issue: SPR-10677
2013-06-25 23:14:49 -07:00
Phillip Webb
2abec6fd90
Include all SQL statements in batch fail exception
...
Ensure any exception from calls to batchUpdate, on databases that
support batch operations, contains all the SQL statements. Prior to this
commit only the last SQL statement would be returned with the exception.
Issue: SPR-10677
2013-06-25 14:50:24 -07:00
Juergen Hoeller
c8b071c89e
Fixed BeanPropertyRowMapper to only prefix actual upper-case letters with underscores
...
Issue: SPR-10547
2013-05-16 14:33:15 +02:00
Rob Winch
9468548116
Add @Override to remaining source files
...
Issue: SPR-10130
2013-05-13 17:04:56 -05:00
Juergen Hoeller
2a44228b98
Consistent use of <pre class="code">
...
Issue: SPR-8108
2013-05-07 21:31:26 +02:00
Juergen Hoeller
0a8f5b2919
Removed deprecated helper classes and methods (that have been deprecated since 3.0 or before)
2013-05-02 17:25:10 +02:00
Phillip Webb
761bd9fd56
Merge branch '3.2.x'
...
* 3.2.x:
Update javadoc external links
JdbcTemplate etc
Removed unnecessary default value of LifecycleGroup.lifecycleBeans
Introduced public ArgumentPreparedStatementSetter and ArgumentTypePreparedStatementSetter classes
Defensively uses JDBC 3.0 getParameterType call for Oracle driver compatibility
Preparations for 3.2.3
Fixed ReflectiveMethodResolver to avoid potential UnsupportedOperationException on sort
Fixed Jaxb2Marshaller's partial unmarshalling feature to consistently apply to all sources
Update copyright year in reference documentation
Conflicts:
build.gradle
gradle.properties
spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java
spring-jdbc/src/main/java/org/springframework/jdbc/core/ArgumentPreparedStatementSetter.java
spring-jdbc/src/main/java/org/springframework/jdbc/core/ArgumentTypePreparedStatementSetter.java
2013-04-13 09:39:09 -07:00
Juergen Hoeller
9c52ae9558
Removed OC4J support (including documentation references)
2013-03-19 14:53:26 +01:00
Juergen Hoeller
87e5f19c3f
JDK 1.6+ API baseline across the codebase
2013-03-19 13:10:25 +01: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
Chris Beams
ce4be3b46b
Merge branch '3.2.x' into master
...
Conflicts:
gradle.properties
spring-beans/src/main/java/org/springframework/beans/factory/support/StaticListableBeanFactory.java
spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheManagerFactoryBean.java
spring-core/src/main/java/org/springframework/core/convert/support/StringToEnumConverterFactory.java
spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/LazyConnectionDataSourceProxy.java
spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/AbstractLobHandler.java
spring-web/src/main/java/org/springframework/http/client/BufferingClientHttpRequestWrapper.java
spring-web/src/main/java/org/springframework/http/client/SimpleBufferingClientHttpRequest.java
spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java
spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java
2013-03-04 15:41:15 +01: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