Commit Graph

133 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Sam Brannen
2415ec77f8 Fixed typo. 2009-11-11 20:46:36 +00:00
Juergen Hoeller
d46c1f600a TransactionAwareDataSourceProxy processes isClosed explicitly in order to avoid potential leaks (SPR-5780) 2009-11-11 18:19:16 +00:00
Thomas Risberg
7d2b3f2e7e relaxed Map<String, Object> to Map<String, ?> for method parameter 2009-11-10 23:14:54 +00:00
Keith Donald
389ad03e84 package info file 2009-11-05 21:49:46 +00:00
Keith Donald
2e4fa28ca6 removed embedded databases factory in favor of new useDefaultScripts builder method 2009-11-03 23:19:26 +00:00
Keith Donald
f1d012bffa embeddedd databases convenience factory; builder polishing 2009-11-03 23:05:41 +00:00
Keith Donald
3a3edb53f6 polish / code review of data source embedded and init 2009-10-30 19:01:48 +00:00
David Syer
14e7b46163 RESOLVED - issue SPR-5917: fixed classpath pattern for ANT 2009-10-30 11:51:50 +00:00
David Syer
747f71f9d2 RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
Tweak initializer to allow placeholders for script locations
2009-10-30 11:09:49 +00:00
David Syer
0db68e1b57 RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
Moved populator to init package and added namespace features
2009-10-30 10:31:37 +00:00
Thomas Risberg
4a315ba6d1 fixed rertieval of generated keys for HSQLDB 1.9 and fixed some typos (SPR-6266) 2009-10-28 22:25:58 +00:00