Commit Graph
204 Commits
Author SHA1 Message Date
Thomas Risberg 4be9b83c31 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;
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3662 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 18:46:21 +00:00
Juergen Hoeller 58dab3f971 DefaultLobHandler's "wrapAsLob" mode works with PostgreSQL's getAsciiStream() requirement (SPR-7487)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3628 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 18:09:29 +00:00
Juergen Hoeller da758771fa consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3627 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 17:17:25 +00:00
Juergen Hoeller 6567fa437b JDBC bundle uses local ClassLoader as bean ClassLoader for "sql-error-codes.xml" parsing (SPR-7497)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3625 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 13:46:57 +00:00
Ben Hale 82e5f5f5d6 Publishing license and notice files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3612 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-23 13:17:31 +00:00
Arjen Poutsma 750dc01862 Prepping for 3.0.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3611 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 11:04:04 +00:00
Juergen Hoeller 5294db8e62 fixed yet another regression with respect to newlines (SPR-7449)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3560 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 22:36:36 +00:00
Sam Brannen 22a0850aca [SPR-7449] @Ignore'd failing test for regression in ResourceDatabasePopulator.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3557 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 21:51:35 +00:00
Juergen Hoeller 4a473e7e71 fixed accidental regression with respect to newlines
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3543 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 18:02:51 +00:00
Juergen Hoeller 90d1a297cb polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3541 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 16:52:16 +00:00
Juergen Hoeller 9113a54381 ignore empty statements (SPR-7363)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3540 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 16:52:05 +00:00
Juergen Hoeller a4d48f721c HibernateJpaDialect correctly closes borrowed connections even for nested JDBC executions (SPR-7393)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3503 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 12:33:37 +00:00
Arjen Poutsma 7f54fe732f Upgrading version to 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 14:18:29 +00:00
Juergen Hoeller 34a65eb61a added limit for parsed SQL cache to NamedParameterJdbcTemplate (SPR-7237); added configurable cache limit to CachingMetadataReaderFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3372 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 19:35:06 +00:00
Juergen Hoeller 22ab9d6ce8 DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3365 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-25 14:10:28 +00:00
Juergen Hoeller 626d75ff61 DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3364 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-25 13:57:56 +00:00
Juergen Hoeller db32d52375 expect user name to be null (SPR-7228)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3363 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-21 15:59:00 +00:00
Juergen Hoeller b261d6e634 expect user name to be null (SPR-7228)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3362 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-21 15:44:10 +00:00
Juergen Hoeller 64bbbc91ff DataSourceUtils lets timeout exceptions through even for setReadOnly calls (SPR-7226)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3361 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 20:58:02 +00:00
Thomas Risberg 27e6aa644f fixed index test for parameter types (SPR-7199)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3332 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 12:52:59 +00:00
Thomas Risberg b5588049aa added null check for parameter (SPR-7193)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3322 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-12 13:26:03 +00:00
Juergen Hoeller 949d8fa9da setTransactionIsolation on JDBC Connection only called when actually necessary (for PostgreSQL; SPR-7184)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3319 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-11 13:14:53 +00:00
David Syer faa0f29f0f Update version in POMs to 3.0.3
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 10:26:14 +00:00
Juergen Hoeller 7efec864e9 reintroduced two-arg constructor (making STS warning disappear); always use a ResourcePatternResolver (through ResourcePatternUtils)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3212 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:31:15 +00:00
Thomas Risberg 3478dec5f0 added metadata override to NUMERIC for NUMBER columns reported as DECIMAL but with zero decimal places (SPR-6912)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3116 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-18 14:19:30 +00:00
Christian Dupuis 8385bd804e made SortedResourcesFactoryBean ResourceLoaderAware to prevent specifying the ResourceLoader in the jdbc NamespaceHandlers; prevents leaking of class loader instances in tooling
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3113 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-17 17:35:27 +00:00
Juergen Hoeller 7c2c40b516 SimpleJdbcCall's "returningResultSet" accepts any plain RowMapper now (SPR-6963)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3073 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 12:54:52 +00:00
Juergen Hoeller 499a4ffdeb newArg(Type)PreparedStatementSetter declares PreparedStatementSetter interface as return type (SPR-6897)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3036 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-24 14:32:22 +00:00
Juergen Hoeller 312d3986ac use WeakHashMap for DataSource-keyed cache (SPR-6887)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3029 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-23 10:47:51 +00:00
David Syer 25ef81476d Update Central POMs to 3.0.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-21 15:32:18 +00:00
Costin Leau 4be6044db9 + make use or property placeholders inside template.mf
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 09:43:22 +00:00
Juergen Hoeller c02c111826 added vararg variants of query methods to JdbcTemplate (as known from SimpleJdbcTemplate; SPR-6858)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2998 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-17 22:19:49 +00:00
Juergen Hoeller 4561a6a9c3 added "lenientFallback" flag to AbstractRoutingDataSource (SPR-6809)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2938 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 15:39:54 +00:00
Costin Leau 5e677feda0 + upgrade to AspectJ 1.6.8
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:46:21 +00:00
David Syer e6d2f9428c SPR-6678: fix poms for 3.0.1
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:07:08 +00:00
David Syer d4103d1168 RESOLVED - issue SPR-6668: Small Connection leak in DataSourceInitializer
http://jira.springframework.org/browse/SPR-6668

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2808 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:00:41 +00:00
Juergen Hoeller b9e5da07db made comment prefix configurable (SPR-6667)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2800 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 10:15:04 +00:00
Juergen Hoeller f037e27749 fixed toString handling (SPR-5582)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2795 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-09 18:39:03 +00:00
Juergen Hoeller 4869e25582 added lock timeout error code for H2 (SPR-6612)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2776 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 19:35:15 +00:00
Juergen Hoeller 6c0a5b2234 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2688 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 21:37:59 +00:00
David Syer 2bad74c238 SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
Juergen Hoeller 367a26c8f0 fixed supported HSQL/H2 version range (SPR-6403)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2506 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 00:36:50 +00:00
Juergen Hoeller fd85761097 added static newInstance method to BeanPropertyRowMapper (SPR-6433); aligned ParameterizedBeanPropertyRowMapper factory methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2504 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 00:08:57 +00:00
Thomas Risberg f88b785db7 added a "releaseResourcesAfterRead" property defaulting to false and code to handle releasing any LOB resources after read if requested (SPR-5998, SPR-6209)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2475 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 17:45:26 +00:00
Juergen Hoeller 27747d3086 Derby requires a publicly accessible stream creation method (SPR-6346)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2471 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:21:48 +00:00
David Syer 8dd8a2b451 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...

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2443 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-17 08:36:37 +00:00
David Syer 769bacfc28 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.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2442 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-17 07:57:35 +00:00
Keith Donald 0be14b0974 removed new EmbeddedDatabaeBuilder methods that don't seem very useful for embedded scenarios; javadoc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2441 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-17 00:47:34 +00:00
David Syer 27c1a578f4 OPEN - issue SPR-6346: NoSuchMethodException in DerbyEmbeddedDatabaseConfigurer
Added derby test case to EmbeddedDatabaseBuilderTests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2439 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-15 13:17:42 +00:00
Sam Brannen 93dfb54c61 Fixed typos
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2438 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-15 11:57:52 +00:00