Commit Graph
52 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 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 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 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
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
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
David Syer 67932323ad RESOLVED - issue SPR-6345: ResourceDatabasePopulator does not handle comments properly when ignoring failures
http://jira.springframework.org/browse/SPR-6345

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2436 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-14 09:02:03 +00:00
Keith Donald 254f477423 removed embedded databases factory in favor of new useDefaultScripts builder method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2247 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-03 23:19:26 +00:00
Keith Donald add8476160 embeddedd databases convenience factory; builder polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2246 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-03 23:05:41 +00:00
David Syer d55d291313 RESOLVED - issue SPR-5917: fixed classpath pattern for ANT
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2231 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 11:51:50 +00:00
David Syer 4e2ebdf8e4 RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
Moved classes but not resources (fixed)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2230 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 11:26:45 +00:00
David Syer 8fba8e87ab RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
Tweak initializer to allow placeholders for script locations

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2229 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 11:09:49 +00:00
David Syer ba249fb1b1 RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
Moved populator to init package and added namespace features

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2227 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 10:31:37 +00:00
Juergen Hoeller c459b7e905 "data.sql" instead of "test-data.sql" (SPR-6020)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1971 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 16:16:40 +00:00
Juergen Hoeller 2147e66d7c changed NamedParameter/SimpleJdbcOperations parameter signatures to accept any Map value type (SPR-6046)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1781 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 13:53:00 +00:00
Mark Pollack 2f66da5293 SPR-5976 - Upgrade POMS to JUnit 4.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 17:48:53 +00:00
Thomas Risberg 49f6a8db65 added some additional tests (SPR-3322, SPR-5162)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1309 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 20:06:04 +00:00
Thomas Risberg 35d527f756 Updated BeanPropertyRowMapper to remove spaces from column names to improve matching to properties (SPR-5758)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1302 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 20:58:44 +00:00
Thomas Risberg 1a703b3a63 added convenience execute method that takes vararg of objects in the order of the parameters plus the corresponding executeFunction/executeObject methods (SPR-4739)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1287 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 20:43:39 +00:00
Thomas Risberg b23704f0f2 added convenience method that takes vararg of objects in the order of the declared parameters (SPR-5696)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1286 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 20:40:08 +00:00
Thomas Risberg 1343f95a43 added batchUpdate methods to NamedParameterJdbcTemplate (SPR-3322)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1272 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-28 03:15:47 +00:00
Keith Donald 55694f5ca1 removed unused imports
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1202 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-16 22:13:21 +00:00
Keith Donald 4a727f391f applied Joris's patch to shutdown Embedded Derby DB; adjusted manifest template to restrict derby version range from 10.5.1. to 10.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1201 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-16 22:11:18 +00:00
Keith Donald 2587e09b57 derby embedded db support initial commit; shutdown use case needs work
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1197 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-16 15:05:28 +00:00
Juergen Hoeller 8a49660e47 replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1166 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:37:43 +00:00
Keith Donald ad4c6710b5 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1139 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-09 22:30:34 +00:00
Keith Donald 582b194061 h2 embedded db support; updated formatting conventions not to auto-format javadoc; added hsqldb and h2 to jdbc maven pom as optional deps
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1137 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-09 22:27:05 +00:00
Keith Donald 3f24357f96 spring-jdbc xsd initial commit; includes embedded-database tag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1130 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 19:06:58 +00:00
Keith Donald ee645318b8 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1119 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 09:14:25 +00:00
Keith Donald 527bbf4c5e eliminated dependency on jdbc core
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1111 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 07:36:24 +00:00
Keith Donald 539f9b3575 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1060 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-23 19:01:41 +00:00
Keith Donald 28ae04ead2 added DataSourceFactory strategy; promoted EmbeddedDatabaseConfigurer strategy to public API; added ability to add any number of SQL scripts for db population
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1053 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 19:31:46 +00:00
Keith Donald 812e7272d5 embedded database support initial commit; moved from spring-test; ResourceDatabasePopulator duplicate code with test.jdbc package that needs review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1050 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 17:07:20 +00:00
Thomas Risberg c6bab66017 added a config property to control defaulting of primitive property when receiving null value from result (SPR-5588)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@822 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 15:26:39 +00:00
Thomas Risberg b37a461eb0 added tests for custom SQLException translation, polished (SPR-4899)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@768 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 21:32:40 +00:00
Thomas Risberg ee4c0e7101 switched tests to use JUnit4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@765 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 06:29:33 +00:00
Thomas Risberg d3c10437c4 added a concrete GenericSqlQuery class to make it possible to configure in application context (SPR-3986)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@764 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 04:38:56 +00:00
Thomas Risberg b9b536871c fixed missing tabs in application context file (SPR-3987)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@763 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 04:35:45 +00:00
Thomas Risberg 87a53c0777 moved the application context file to correct directory (SPR-3987)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@762 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 02:17:49 +00:00
Thomas Risberg d79c880c46 added a concrete GenericStoredProcedure class to make it possible to configure using application context (SPR-3987)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@761 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-11 23:01:22 +00:00
Thomas Risberg 41ad9365d9 added a DuplicatKeyException catagory for SQLException translation (SPR-5125)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@760 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-09 23:26:54 +00:00
Juergen Hoeller 8af560b4f4 added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@655 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-19 00:24:05 +00:00
Chris Beams 6531b0ad79 moving unit tests from .testsuite -> .jdbc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@438 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-16 23:29:28 +00:00
Arjen Poutsma bb10adaefa Moved tests from testsuite to jdbc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@249 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-31 10:02:48 +00:00
Arjen Poutsma 3a3e814482 Moved tests from testsuite to jdbc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@222 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-30 17:35:13 +00:00
Arjen Poutsma 850e370b5b Moved tests from testsuite to jdbc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@221 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-30 17:24:23 +00:00