Oliver Gierke
b467f2c858
SPR-7602 - Correctly shutdown Derby >= 10.6
...
The shutdown mechanism for in-memory databases has changed since 10.6. We now have to trigger 'drop' instead of 'shutdown'. Besides that we can skip purging the database manually in newer versions.
2010-09-30 17:56:41 +00:00
Thomas Risberg
b2b195e2cf
changed the access of the "reconcileColumnsToUse" and "reconcileParameters" methods to protected (SPR-7556)
2010-09-14 15:48:03 +00:00
Juergen Hoeller
c2dab9c200
EmbeddedDatabaseFactory shuts down database when failing to populate it in initDatabase (SPR-7536)
2010-09-10 09:07:20 +00:00
Juergen Hoeller
53692a79e2
polishing
2010-09-09 08:13:49 +00:00
Thomas Risberg
1247d2085b
Polished the support for looking up column values by column label (SPR-7506)
2010-09-08 18:59:28 +00:00
Thomas Risberg
90636f66a8
Added support for looking up column values by column label to support CachedRowSetImpl which doesn't allow for column label use (SPR-7506); added some generics;
2010-09-08 18:46:21 +00:00
Juergen Hoeller
4e3227441b
DefaultLobHandler's "wrapAsLob" mode works with PostgreSQL's getAsciiStream() requirement (SPR-7487)
2010-09-01 18:09:29 +00:00
Juergen Hoeller
e56cfb8173
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
2010-09-01 17:17:25 +00:00
Juergen Hoeller
82bcef037d
JDBC bundle uses local ClassLoader as bean ClassLoader for "sql-error-codes.xml" parsing (SPR-7497)
2010-09-01 13:46:57 +00:00
Juergen Hoeller
1503a139e2
fixed yet another regression with respect to newlines (SPR-7449)
2010-08-10 22:36:36 +00:00
Sam Brannen
e3400f77c9
[SPR-7449] @Ignore'd failing test for regression in ResourceDatabasePopulator.
2010-08-10 21:51:35 +00:00
Juergen Hoeller
48874801a3
fixed accidental regression with respect to newlines
2010-08-07 18:02:51 +00:00
Juergen Hoeller
7cddb1c50e
polishing
2010-08-07 16:52:16 +00:00
Juergen Hoeller
a8133a9917
ignore empty statements (SPR-7363)
2010-08-07 16:52:05 +00:00
Juergen Hoeller
b261d336b1
HibernateJpaDialect correctly closes borrowed connections even for nested JDBC executions (SPR-7393)
2010-07-26 12:33:37 +00:00
Juergen Hoeller
2136b04b65
added limit for parsed SQL cache to NamedParameterJdbcTemplate (SPR-7237); added configurable cache limit to CachingMetadataReaderFactory
2010-05-26 19:35:06 +00:00
Juergen Hoeller
0c6b38b0b5
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
2010-05-25 14:10:28 +00:00
Juergen Hoeller
8800bab8a6
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
2010-05-25 13:57:56 +00:00
Juergen Hoeller
ed3cb4217d
expect user name to be null (SPR-7228)
2010-05-21 15:59:00 +00:00
Juergen Hoeller
66aca1e8b3
expect user name to be null (SPR-7228)
2010-05-21 15:44:10 +00:00
Juergen Hoeller
d7f72fbbd4
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (SPR-7226)
2010-05-20 20:58:02 +00:00
Thomas Risberg
d22a6f9da9
fixed index test for parameter types (SPR-7199)
2010-05-14 12:52:59 +00:00
Thomas Risberg
15df7b11d0
added null check for parameter (SPR-7193)
2010-05-12 13:26:03 +00:00
Juergen Hoeller
853eab8b4c
setTransactionIsolation on JDBC Connection only called when actually necessary (for PostgreSQL; SPR-7184)
2010-05-11 13:14:53 +00:00
Juergen Hoeller
f6d05eaad4
reintroduced two-arg constructor (making STS warning disappear); always use a ResourcePatternResolver (through ResourcePatternUtils)
2010-04-01 10:31:15 +00:00
Thomas Risberg
2ff2f0205d
added metadata override to NUMERIC for NUMBER columns reported as DECIMAL but with zero decimal places (SPR-6912)
2010-03-18 14:19:30 +00:00
Christian Dupuis
e22431188b
made SortedResourcesFactoryBean ResourceLoaderAware to prevent specifying the ResourceLoader in the jdbc NamespaceHandlers; prevents leaking of class loader instances in tooling
2010-03-17 17:35:27 +00:00
Juergen Hoeller
ccb312a974
SimpleJdbcCall's "returningResultSet" accepts any plain RowMapper now (SPR-6963)
2010-03-10 12:54:52 +00:00
Juergen Hoeller
4bda92fd8a
newArg(Type)PreparedStatementSetter declares PreparedStatementSetter interface as return type (SPR-6897)
2010-02-24 14:32:22 +00:00
Juergen Hoeller
09f02bc620
use WeakHashMap for DataSource-keyed cache (SPR-6887)
2010-02-23 10:47:51 +00:00
Juergen Hoeller
c39b529c93
added vararg variants of query methods to JdbcTemplate (as known from SimpleJdbcTemplate; SPR-6858)
2010-02-17 22:19:49 +00:00
Juergen Hoeller
aafe8ef9be
added "lenientFallback" flag to AbstractRoutingDataSource (SPR-6809)
2010-02-09 15:39:54 +00:00
David Syer
e4d8651aa9
RESOLVED - issue SPR-6668: Small Connection leak in DataSourceInitializer
...
http://jira.springframework.org/browse/SPR-6668
2010-01-13 11:00:41 +00:00
Juergen Hoeller
5c41e2c6e1
made comment prefix configurable (SPR-6667)
2010-01-12 10:15:04 +00:00
Juergen Hoeller
a70f525d4e
fixed toString handling (SPR-5582)
2010-01-09 18:39:03 +00:00
Juergen Hoeller
819f4be08e
added lock timeout error code for H2 (SPR-6612)
2010-01-06 19:35:15 +00:00
Juergen Hoeller
f208988563
polishing
2009-12-15 21:37:59 +00:00
Juergen Hoeller
9a2f9ccde4
added static newInstance method to BeanPropertyRowMapper (SPR-6433); aligned ParameterizedBeanPropertyRowMapper factory methods
2009-11-25 00:08:57 +00:00
Thomas Risberg
5a158fb76f
added a "releaseResourcesAfterRead" property defaulting to false and code to handle releasing any LOB resources after read if requested (SPR-5998, SPR-6209)
2009-11-20 17:45:26 +00:00
Juergen Hoeller
2cb6e21161
Derby requires a publicly accessible stream creation method (SPR-6346)
2009-11-20 14:21:48 +00:00
David Syer
17887d24a1
RESOLVED - issue SPR-6365: spring-jdbc.xsd script element claims resource patterns can be used for any SQL resource location but this is only supported for initialize-database tag
...
Grr: classpath*: again...
2009-11-17 08:36:37 +00:00
David Syer
7519162e65
RESOLVED - issue SPR-6365: spring-jdbc.xsd script element claims resource patterns can be used for any SQL resource location but this is only supported for initialize-database tag
...
Added resource pattern feature to embedded datasource XML parser.
2009-11-17 07:57:35 +00:00
Keith Donald
3f65721ba8
removed new EmbeddedDatabaeBuilder methods that don't seem very useful for embedded scenarios; javadoc polishing
2009-11-17 00:47:34 +00:00
David Syer
35472300ae
OPEN - issue SPR-6346: NoSuchMethodException in DerbyEmbeddedDatabaseConfigurer
...
Added derby test case to EmbeddedDatabaseBuilderTests
2009-11-15 13:17:42 +00:00
Sam Brannen
35d4d7bbac
Fixed typos
2009-11-15 11:57:52 +00:00
David Syer
efb2647978
RESOLVED - issue SPR-6348: ResourceDatabasePopulator is too verbose when reporting ignored failures
...
http://jira.springframework.org/browse/SPR-6348
2009-11-14 09:04:24 +00:00
David Syer
534f8a4705
RESOLVED - issue SPR-6345: ResourceDatabasePopulator does not handle comments properly when ignoring failures
...
http://jira.springframework.org/browse/SPR-6345
2009-11-14 09:02:03 +00:00
Thomas Risberg
3faf28ebaf
created a protected doSetValue method so sub-classes can override the implementation easier (SPR-3978)
2009-11-12 20:51:00 +00:00
Thomas Risberg
e27330ec5d
created a protected doSetValue method so sub-classes can override the implementation easier (SPR-3978)
2009-11-12 20:47:48 +00:00
Thomas Risberg
b88db7a594
extracted creation of new ArgPreparedStatementSetter and ArgTypePreparedStatementSetter into protected methods to allow sub-classes to override (SPR-3977)
2009-11-12 19:39:39 +00:00