Commit Graph
3581 Commits
Author SHA1 Message Date
Juergen Hoeller 0ae66ec741 fixed detection of element type in case of nested collections (SPR-7569)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3731 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 21:09:43 +00:00
Juergen Hoeller 219fc737fe consistent handling of handler methods, init binder methods and model attribute methods (SPR-7355)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3730 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 21:01:04 +00:00
Juergen Hoeller 8e823bcf78 SpEL MapAccessor consistently rejects "target.key" style access to Maps if no such key is found (SPR-7614)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3729 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 20:22:15 +00:00
Juergen Hoeller e531a28d3b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3728 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 20:11:53 +00:00
Juergen Hoeller 502d2b0779 initialize cache Maps early, turning them into final fields
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3727 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 20:11:44 +00:00
Juergen Hoeller 8c9f96584e SpEL method invocations prefer method with fewest parameters (e.g. no-arg over vararg; SPR-7633)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3726 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 19:23:01 +00:00
Juergen Hoeller 89f3436596 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3725 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 18:31:43 +00:00
Juergen Hoeller 2062b44c16 optimized @Bean error messages (SPR-7628, SPR-7629)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3724 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-10 18:31:03 +00:00
Juergen Hoeller f3be641136 Jdbc4NativeJdbcExtractor etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3723 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-09 23:08:23 +00:00
Juergen Hoeller 37b8aa325b added configurable Connection/Statement/ResultSet target types to Jdbc4NativeJdbcExtractor (SPR-7613); added OracleJdbc4NativeJdbcExtractor with pre-configured Oracle JDBC API types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3722 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-09 23:04:50 +00:00
Juergen Hoeller f917704e61 fixed embedded database exception test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3721 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-09 13:29:22 +00:00
Juergen Hoeller e13610b959 consistent handling of unwrap/isWrapperFor/isClosed in JDBC proxies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3720 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-09 12:38:37 +00:00
Juergen Hoeller e1ec1914d1 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3719 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-09 12:35:38 +00:00
Juergen Hoeller 0827d38890 ResourceDatabasePopulator throws descriptive ScriptStatementFailedException with resource details (SPR-7546)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3718 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-09 12:35:21 +00:00
Thomas Risberg 52503cfbaf added a nativeJdbcExtractor property for the TableMetaDataProvider and a method to specify the one to use for SImpleJdbcInsert (SPR-7611)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3717 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-08 18:28:01 +00:00
Oliver Gierke a54c4bd0cf SPR-7604 - Support multiple embedded databases.
Added missing test configuration file.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3716 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-08 12:40:06 +00:00
Ramnivas Laddad e5cb2695d8 SPR-7369: @Async support in spring-aspects with AspectJ
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3715 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-06 20:13:22 +00:00
Ramnivas Laddad d5bc146653 SPR-7369: @Async support in spring-aspects with AspectJ
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3714 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-06 20:12:15 +00:00
Arjen Poutsma 857cd27a14 Polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3713 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-06 12:05:11 +00:00
Oliver Gierke 7a24e4116f SPR-7604 - Support multiple embedded databases.
Embedded datasources now get their bean ids set as database name to allow multiple databases of the same type in parallel. Refactored tests a little and made BeanDefinitionParser package private to align with the other ones. Adapted changelog accordingly.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3712 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-02 06:30:05 +00:00
Juergen Hoeller a23b4f4c25 preparations for 3.0.5 release
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3711 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-02 01:29:35 +00:00
Juergen Hoeller 5acd3a2e24 DefaultMessageListenerContainer's skips no-message-received commit on Tibco (avoiding a deadlock; SPR-7558)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3710 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-02 01:25:25 +00:00
Juergen Hoeller 80e66fc84d getTestExecutionListeners() returns actual List which allows for iteration as well as modification (SPR-7595)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3709 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-02 01:05:40 +00:00
Juergen Hoeller b0c441b810 DispatcherPortlet's default resource serving explicitly prevents access to WEB-INF and META-INF (SPR-7540)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3708 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-02 00:03:09 +00:00
Juergen Hoeller 72b836f379 avoid ConcurrentModificationException when iterating attribute names (SPR-7557)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3707 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 22:27:34 +00:00
Juergen Hoeller 9d06c4ac55 reduced BeanDefinition footprint by initializing Sets and Maps with 0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3706 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 22:22:50 +00:00
Juergen Hoeller f3e7fd9bc9 fixed ApplicationContext event processing for repeated invocations to non-singleton listener beans (SPR-7563)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3705 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 22:16:21 +00:00
Juergen Hoeller a2aea5054d revised "ClassUtils.isAssignable" semantics to cover primitives vs wrappers in both directions (SPR-7610)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3704 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 21:50:25 +00:00
Oliver Gierke d7f78103e7 SPR-7651 - Document limitations of @Async.
* documented that @Async can't be used in conjunction with lifecycle callbacks such as @PostConstruct
* provide sample for workaround
* added semantic markup for code

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3703 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 09:44:55 +00:00
Oliver Gierke e92f2d8419 Formatting for scheduling.xml.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3702 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 09:44:52 +00:00
Oliver Gierke 180a9c5b00 SPR-7609 - Fixed typos in JMS documentation.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3701 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 06:52:08 +00:00
Oliver Gierke bff49b4c0d 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.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3700 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-30 17:56:41 +00:00
Juergen Hoeller bb004e3ce7 fixed exists() check for resources in zipped files (SPR-7559)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3699 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 14:45:44 +00:00
Juergen Hoeller 0406836c2d AspectJExpressionPointcut uses bean ClassLoader for initializing the AspectJ pointcut parser (SPR-7570)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3698 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 14:31:23 +00:00
Juergen Hoeller 17cc53d31d fixed findPlaceholderEndIndex to work with a custom suffix as well (SPR-7574)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3697 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 14:01:54 +00:00
Juergen Hoeller 77e16a1a89 fixed Portlet UnavailableException tests (SPR-7542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3696 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:45:50 +00:00
Juergen Hoeller 8a8a6dee7e fixed Portlet UnavailableException tests (SPR-7542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3695 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:31:53 +00:00
Juergen Hoeller ae5ffd68f4 AnnotationSessionFactoryBean's "postProcessConfiguration" is non-final now (because of Hibernate 3.6; SPR-7581)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3694 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:22:24 +00:00
Juergen Hoeller 33c4c04276 made ResourceHttpRequestHandlerTests more reliable (SPR-7565)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3693 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:14:18 +00:00
Arjen Poutsma 4b3b5ccaac SPR-7591 - HttpStatusCodeException should contain response body
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3692 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-24 10:06:52 +00:00
Costin Leau 1c156cce92 SPR-6819
+ change jpa Maven dependency from provided to compile

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3691 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-21 23:14:22 +00:00
Jeremy Grelle 51de2fc682 Minor correction to doc updates made as part of SPR-7545 - "cache-period" attribute was incorrectly documented as "cache-seconds".
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3690 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-17 18:50:01 +00:00
Chris Beams 32c08d1b3f Review recent documentation and default servlet changes
- Relocate and fix typos in interface-based @RequestMapping tip (SPR-7537)
- Fix typos in constructor-arg 'name' disambiguation section (SPR-7443)
- Polish whitespace in DefaultServletHttpRequestHandler (SPR-7553)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3689 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 08:45:21 +00:00
Oliver Gierke a83b8cbd90 SPR-7443 - Mentioned @ConstructorProperties in doc
If you want to reference parameters by name in XML
configuration you can also use @ConstructorProperties
to name the parameters in the class.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3688 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 08:13:12 +00:00
Oliver Gierke 8b794385a3 SPR-7443 - Constructor arg resolution by name (doc)
Added documentation on constructor argument 
disambiguation by using the argument names.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3687 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 06:37:05 +00:00
Thomas Risberg 34cd15c631 changed the access of the "reconcileColumnsToUse" and "reconcileParameters" methods to protected (SPR-7556)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3686 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 15:48:03 +00:00
Oliver Gierke 9975f5ec19 SPR-7537 - Document proxying for MVC controllers
Extended documentation to include hints on what to 
consider when working with proxied controllers.
Explained the necessity of moving @RequestMapping
annotations to the interface or use proxy-target-
class="true".

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3685 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 11:02:46 +00:00
Juergen Hoeller a0c93b7e91 DispatcherPortlet throws custom NoHandlerFoundException instead of misleading UnavailableException (SPR-7542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3684 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 06:43:53 +00:00
Juergen Hoeller d09f1d4694 UriTemplate is serializable now (SPR-7541)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3683 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 05:37:30 +00:00
Juergen Hoeller db51f1666e ApplicationContext registers context-specific ClassArrayEditor for its bean ClassLoader (SPR-1461)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3682 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 05:09:08 +00:00