Juergen Hoeller
2d2226baf6
Added 546 to Sybase data integrity violation codes
...
Issue: SPR-11097
11 years ago
Juergen Hoeller
be63c07b2e
Polishing
11 years ago
Juergen Hoeller
4c8a7899f2
Optimized use of JDBC 3.0 ParameterMetaData.getParameterType, caching information about drivers which do not support that feature
...
Issue: SPR-11100
11 years ago
Phillip Webb
043a41e382
Consistent whitespace after imports
...
Update code to have a consistent number of new-line characters after
import statements.
11 years ago
Juergen Hoeller
1e6f2e79b9
Adapted getXmlAsSource implementation to avoid compilation failure in IntelliJ IDEA
11 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
11 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
11 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
11 years ago
Alex Yursha
6a1ca41cb7
Put accidentally deleted LF in place
11 years ago
Alex Yursha
6900645d59
Fix a typo in package description
11 years ago
Juergen Hoeller
13ed423387
Polished exception messages
...
Issue: SPR-11042
11 years ago
Juergen Hoeller
1dc7ff8604
Avoid unnecessary char[] allocation in NamedParameterUtils
...
Issue: SPR-11042
11 years ago
Sam Brannen
7ca09d7e3d
Polish NamedParameterUtils
...
- Fixed typos in Javadoc
- Formatted Javadoc
11 years ago
Juergen Hoeller
c38bde259a
Polishing
...
Issue: SPR-10185
11 years ago
Juergen Hoeller
41f041e6ae
Reduced "getParameterType call not supported" log message to single line
...
Issue: SPR-10185
11 years ago
Juergen Hoeller
52cca48f40
Polishing
11 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
11 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
11 years ago
Juergen Hoeller
88115212eb
Consistent xsd header formatting
11 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.
11 years ago
Juergen Hoeller
eb98f1f084
Added missing spring-jdbc-4.0.xsd
11 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
11 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
11 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
12 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
12 years ago
Juergen Hoeller
c8b071c89e
Fixed BeanPropertyRowMapper to only prefix actual upper-case letters with underscores
...
Issue: SPR-10547
12 years ago
Rob Winch
9468548116
Add @Override to remaining source files
...
Issue: SPR-10130
12 years ago
Juergen Hoeller
2a44228b98
Consistent use of <pre class="code">
...
Issue: SPR-8108
12 years ago
Juergen Hoeller
0a8f5b2919
Removed deprecated helper classes and methods (that have been deprecated since 3.0 or before)
12 years ago
Juergen Hoeller
9c52ae9558
Removed OC4J support (including documentation references)
12 years ago
Juergen Hoeller
87e5f19c3f
JDK 1.6+ API baseline across the codebase
12 years ago
Juergen Hoeller
cc4f1328ee
Introduced public ArgumentPreparedStatementSetter and ArgumentTypePreparedStatementSetter classes
...
Issue: SPR-10375
12 years ago
Juergen Hoeller
6b4c29cd24
Defensively uses JDBC 3.0 getParameterType call for Oracle driver compatibility
...
Issue: SPR-10385
12 years ago
Phillip Webb
05765d7520
Replace EasyMock with Mockito
...
Issue: SPR-10126
12 years ago
Juergen Hoeller
d3c0dd1c7e
Minor javadoc updates
12 years ago
Juergen Hoeller
99c7f25b05
Deprecated OracleLobHandler in favor of DefaultLobHandler for the Oracle 10g driver and higher
...
Issue: SPR-10339
12 years ago
Juergen Hoeller
2bd584ca75
Added "createTemporaryLob" flag to DefaultLobHandler, using JDBC 4.0's createBlob/Clob mechanism
...
Issue: SPR-10339
12 years ago
Juergen Hoeller
6a043e3ea1
Mentioning JDBC 4's unwrap method for obtaining the native connection now
12 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
12 years ago
Carson McDonald
6a45d5bfb0
Minor changes to fix typos
12 years ago
Juergen Hoeller
acffcdaa01
Polished *JdbcCall/Insert classes
12 years ago
Juergen Hoeller
c1c27e7142
Deprecated JdbcTemplate's queryForInt/Long operations in favor of queryForObject (following NamedParameterJdbcTemplate)
...
Issue: SPR-10257
12 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
12 years ago
Juergen Hoeller
8a4ce142c4
SQLErrorCodeSQLExceptionTranslator tries to find SQLException with actual error code, looping through the causes.
...
Issue: SPR-10260
12 years ago
Phillip Webb
f464a45ba4
Polish formatting
...
Minor formatting polish across that codebase. Primarily fixing
whitespace issues.
12 years ago
Phillip Webb
d89e30b864
Fix unnecessary @SupressWarnings annotations
12 years ago
Phillip Webb
065b1c0e46
Fix unused local variable warnings
12 years ago
Phillip Webb
6a1e841952
Fix unused type compiler warnings
12 years ago
Juergen Hoeller
0dcc0f2227
Added further MySQL error code for DataIntegrityViolationException
...
Issue: SPR-9237
12 years ago
Juergen Hoeller
5d9ad5b1d1
AbstractDriverBasedDataSource does not rely on Properties chaining anymore
...
Issue: SPR-9461
12 years ago