Juergen Hoeller
1e6f2e79b9
Adapted getXmlAsSource implementation to avoid compilation failure in IntelliJ IDEA
12 years ago
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
12 years ago
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
12 years ago
Phillip Webb
d9c4470461
Upgrade to HSQLDB 2.3.1
...
Replace `hsqldb:hsqldb:1.8.0.10` with `org.hsqldb:hsqldb:2.3.1` and
fix breaking tests.
Issue: SPR-10947
12 years ago
Alex Yursha
6a1ca41cb7
Put accidentally deleted LF in place
12 years ago
Alex Yursha
6900645d59
Fix a typo in package description
12 years ago
Juergen Hoeller
13ed423387
Polished exception messages
...
Issue: SPR-11042
12 years ago
Juergen Hoeller
1dc7ff8604
Avoid unnecessary char[] allocation in NamedParameterUtils
...
Issue: SPR-11042
12 years ago
Sam Brannen
7ca09d7e3d
Polish NamedParameterUtils
...
- Fixed typos in Javadoc
- Formatted Javadoc
12 years ago
Juergen Hoeller
c38bde259a
Polishing
...
Issue: SPR-10185
12 years ago
Juergen Hoeller
41f041e6ae
Reduced "getParameterType call not supported" log message to single line
...
Issue: SPR-10185
12 years ago
Juergen Hoeller
52cca48f40
Polishing
12 years ago
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
12 years ago
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
12 years ago
Juergen Hoeller
88115212eb
Consistent xsd header formatting
13 years ago
Juergen Hoeller
3d462b6dd9
Added missing spring.schemas entries for 4.0 xsds
...
Also fixing an old XmlBeanFactory test that relies on "ref local" which is gone in the 4.0 xsd now, redeclaring the affected file to an older xsd version.
13 years ago
Juergen Hoeller
eb98f1f084
Added missing spring-jdbc-4.0.xsd
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Juergen Hoeller
c8b071c89e
Fixed BeanPropertyRowMapper to only prefix actual upper-case letters with underscores
...
Issue: SPR-10547
13 years ago
Rob Winch
9468548116
Add @Override to remaining source files
...
Issue: SPR-10130
13 years ago
Juergen Hoeller
2a44228b98
Consistent use of <pre class="code">
...
Issue: SPR-8108
13 years ago
Juergen Hoeller
0a8f5b2919
Removed deprecated helper classes and methods (that have been deprecated since 3.0 or before)
13 years ago
Juergen Hoeller
9c52ae9558
Removed OC4J support (including documentation references)
13 years ago
Juergen Hoeller
87e5f19c3f
JDK 1.6+ API baseline across the codebase
13 years ago
Juergen Hoeller
cc4f1328ee
Introduced public ArgumentPreparedStatementSetter and ArgumentTypePreparedStatementSetter classes
...
Issue: SPR-10375
13 years ago
Juergen Hoeller
6b4c29cd24
Defensively uses JDBC 3.0 getParameterType call for Oracle driver compatibility
...
Issue: SPR-10385
13 years ago
Phillip Webb
05765d7520
Replace EasyMock with Mockito
...
Issue: SPR-10126
13 years ago
Juergen Hoeller
d3c0dd1c7e
Minor javadoc updates
13 years ago
Juergen Hoeller
99c7f25b05
Deprecated OracleLobHandler in favor of DefaultLobHandler for the Oracle 10g driver and higher
...
Issue: SPR-10339
13 years ago
Juergen Hoeller
2bd584ca75
Added "createTemporaryLob" flag to DefaultLobHandler, using JDBC 4.0's createBlob/Clob mechanism
...
Issue: SPR-10339
13 years ago
Juergen Hoeller
6a043e3ea1
Mentioning JDBC 4's unwrap method for obtaining the native connection now
13 years ago
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
13 years ago
Carson McDonald
6a45d5bfb0
Minor changes to fix typos
13 years ago
Juergen Hoeller
acffcdaa01
Polished *JdbcCall/Insert classes
13 years ago
Juergen Hoeller
c1c27e7142
Deprecated JdbcTemplate's queryForInt/Long operations in favor of queryForObject (following NamedParameterJdbcTemplate)
...
Issue: SPR-10257
13 years ago
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
13 years ago
Juergen Hoeller
8a4ce142c4
SQLErrorCodeSQLExceptionTranslator tries to find SQLException with actual error code, looping through the causes.
...
Issue: SPR-10260
13 years ago
Phillip Webb
f464a45ba4
Polish formatting
...
Minor formatting polish across that codebase. Primarily fixing
whitespace issues.
13 years ago
Phillip Webb
d89e30b864
Fix unnecessary @SupressWarnings annotations
13 years ago
Phillip Webb
065b1c0e46
Fix unused local variable warnings
13 years ago
Phillip Webb
6a1e841952
Fix unused type compiler warnings
13 years ago
Juergen Hoeller
0dcc0f2227
Added further MySQL error code for DataIntegrityViolationException
...
Issue: SPR-9237
13 years ago
Juergen Hoeller
5d9ad5b1d1
AbstractDriverBasedDataSource does not rely on Properties chaining anymore
...
Issue: SPR-9461
13 years ago
Juergen Hoeller
20c4ba40d8
AbstractDriverBasedDataSource does not rely on Properties chaining anymore
...
Issue: SPR-9461
13 years ago
Juergen Hoeller
f0a1ff2d76
JDBC parameter binding uses JDBC 3.0 ParameterMetaData (if available) for type determination
...
Forward-ported from 3.1.2, with minor modifications for defensiveness against the JDBC driver.
Issue: SPR-10084
13 years ago
Chris Beams
15e9fe638c
Remove duplicate test resources
...
The files deleted in this commit existed in identical form in two places
within a given module; typically in src/test/java and
src/test/resources. The version within src/test/resources has been
favored in all cases.
This change was prompted by associated Eclipse warnings, which have now
been quelled.
Issue: SPR-9431
13 years ago
Chris Beams
51b307681a
Fix warnings due to unused import statements
...
Issue: SPR-9431
13 years ago