Commit Graph

4195 Commits

Author SHA1 Message Date
Juergen Hoeller 6ff99b54d8 full support for arbitrary nesting of collections in fields (SPR-8394); proper type detection in nested collections within arrays
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4487 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 22:34:35 +00:00
Juergen Hoeller 0574baa690 full support for arbitrary nesting of collections in fields (SPR-8394); proper type detection in nested collections within arrays
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4486 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 22:33:23 +00:00
Keith Donald 031e9b64a7 added utility method to reduce code duplication
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4485 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 20:44:02 +00:00
Keith Donald 2410603cc4 assignability examples
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4484 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 20:14:02 +00:00
Keith Donald f40c101d6d implemented collection/map converter conditional matching checks; updated SpEL to reflect this behavior
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4483 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 20:00:28 +00:00
Juergen Hoeller cfd8d7dac4 added "packagesToScan" feature to LocalContainerEntityManagerFactoryBean (avoiding persistence.xml)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4482 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 16:56:47 +00:00
Keith Donald a87adacbfe fixed failing test; initial conditional converter impls for collections, arrays, and maps
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4481 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 15:56:51 +00:00
Keith Donald 2e88435aa4 added back element type checks in TypeDescriptor#isAssignable; clarified semantics in javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4480 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 15:33:44 +00:00
Rossen Stoyanchev 031f0d52e5 SPR-7994 Add missing optional flag for Rome library in spring-web
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4479 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 15:01:35 +00:00
Keith Donald b0a9781f0f restored TypeDescriptor getElementType, getMapKeyType, and getMapValueType compatibility; StringToCollection and Array Converters are now conditional and check targetElementType if present; TypeDesciptor#isAssignable no longer bothers with element type and map key/value types in checking assignability for consistency elsewhere; improved javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4478 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-07 02:51:44 +00:00
Keith Donald 034edc9e1f string to collection and array converters now are conditional and apply target element type match
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4477 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 22:48:00 +00:00
Thomas Risberg e8404a33ee fixed duplicate section ids
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4476 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 13:30:41 +00:00
Chris Beams c84c97d572 Preserve DefaultContextLoadTimeWeaver no-arg ctor
Issue: SPR-8317

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4475 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 13:15:10 +00:00
Arjen Poutsma 9e1d02da2b SPR-7439 - JSON (jackson) @RequestBody marshalling throws awkward exception
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4474 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 10:33:04 +00:00
Sam Brannen ce707c575d Added log entries for recent TestContext framework changes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4473 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 09:52:33 +00:00
Chris Beams a50e4a24a9 Introduce @EnableLoadTimeWeaving
Issue: SPR-8317

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4472 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 08:31:18 +00:00
Chris Beams 991a5f9a3f Polish WebApplicationInitializer Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4471 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 08:30:36 +00:00
David Syer 99e6c7c45d SPR-6717: Added support for database destroy scripts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4470 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 07:28:25 +00:00
Thomas Risberg fff185d975 added check for existing configuration of generated keys before calling update with a KeyHolder. (SPR-7564)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4469 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 00:52:01 +00:00
Rossen Stoyanchev bbb51ad475 Updates to whats new in Spring 3.1 section
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4468 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 21:45:31 +00:00
David Syer 0905eb333d SPR-5937: add param map to freemarker url macro
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4467 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 21:02:02 +00:00
David Syer 24b857ac2c Add ignorable log file to .gitignore
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4466 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 21:01:37 +00:00
Sam Brannen 6a509f49b0 [SPR-8240][SPR-8401] Documenting @Configuration class and @ActiveProfiles support in the TestContext framework.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4465 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 19:23:29 +00:00
Sam Brannen b8d36919f4 Introduced toClassArray(Collection<Class<?>>).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4464 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 19:13:13 +00:00
Sam Brannen 0c787ff902 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4463 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 19:12:58 +00:00
Thomas Risberg 8921682410 updated codes for Sybase (SPR-8125)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4462 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 19:05:06 +00:00
Keith Donald 7f93b47b4a narrow and elementType/keyValueType tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4461 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 18:51:37 +00:00
Keith Donald 90bb4c2256 added convert(Object, TypeDescriptor) convenience method; collection and map tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4460 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 18:36:58 +00:00
Keith Donald 0fcbb35889 null type descriptor handling
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4459 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 17:52:26 +00:00
Keith Donald eaa8a4271c improved null handling and javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4458 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 17:41:08 +00:00
Thomas Risberg f52a34e5b3 Added batchUpdate method taking a Collection, a batch size and a ParameterizedPreparedStatementSetter as arguments (SPR-6334)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4457 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 16:42:24 +00:00
Keith Donald c5425d0f43 broke out to top-level class for readability
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4456 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 08:37:08 +00:00
Keith Donald 89096b46b8 removed dependency on java.beans
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4455 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 08:29:14 +00:00
Keith Donald 911eb5fca8 javadoc and polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4454 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 07:14:34 +00:00
Keith Donald 4afc2c926d catch ConversionFailedException and fallback to default container conversion logic rather than propogate exception
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4453 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 06:04:49 +00:00
Keith Donald 15aad4b70a perform narrowing in reflective property accessor read methods as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4452 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 06:01:48 +00:00
Keith Donald b58386da08 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4451 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 05:46:27 +00:00
Keith Donald a34147a53d revised TypeDescriptor NULL and element/mapKey/mapValue type semantics
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4450 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 04:43:18 +00:00
Chris Beams ce08298e01 Add "What's new in Spring 3.1" to ref docs
Issue: SPR-8399

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4449 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:46:28 +00:00
Chris Beams 1c539e8a65 Rename ref docs section new-in-3 => new-in-3.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4448 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:58 +00:00
Chris Beams 235f3678ef Remove unused 'new-in-2' ref doc xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4447 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:31 +00:00
Chris Beams f852276232 Fix broken links in ref docs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4446 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:11 +00:00
Keith Donald 4ee2900296 added TypeDescriptor resolveCollectionElement and Map key/value types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4445 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 05:38:51 +00:00
Sam Brannen 32bca54000 [SPR-8386] polishing JavaDoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4444 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 22:51:53 +00:00
Sam Brannen 39b790032f [SPR-7326] MergedContextConfiguration now ensures that it holds non-null arrays with proper semantics for TestContext's cache key generation.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4443 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 22:46:43 +00:00
Sam Brannen 59dea815c7 [SPR-7326] Added unit tests to verify proper semantics of TestContext's cache key generation.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4442 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 21:38:05 +00:00
Mark Fisher ac176da515 SPR-8205 added support for a 'trigger' attribute (bean ref) on scheduled-task elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4441 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 18:54:21 +00:00
Sam Brannen d0368e1f1c polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4440 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 16:19:41 +00:00
Sam Brannen c5cdb5602e Increased timeout in calls to assertStopWatchTimeLimit() to increase stability of the build.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4439 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 15:44:08 +00:00
Sam Brannen 137353b2c2 Suppressing warnings for deprecation of SimpleJdbcTemplate; polishing JavaDoc; using TestNG assertions in TestNG tests.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4438 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 14:10:16 +00:00