Release Notes - Spring Framework - Version 2.1 M4 - HTML format

Bug

  • [SPR-3538] - ClassPathBeanDefinitionScanner should not proxy @Scope(name="prototype")
  • [SPR-3737] - tx:annotation-driven tries to use all DefaultIntroductionAdvisor's from application context
  • [SPR-3738] - tx:method name="on*Event" does not match any methods
  • [SPR-3743] - MessageTag does not format default message if error code is null
  • [SPR-3748] - persistence_1_0.xsd not found in all cases
  • [SPR-3762] - Documentation for implicitly registered post-processors fails to mention PersistenceAnnotationBeanPostProcessor
  • [SPR-3765] - Reference manual incorrectly states support for Java 1.3, fails to mention support for Java 6
  • [SPR-3776] - Typo - section B7.2 Custom attributes on 'normal' elements
  • [SPR-3777] - JavaDoc for CommonAnnotationBeanPostProcessor does not mention that it is implicity configured
  • [SPR-3783] - Incorrect AspectJ pointcut matching (execution and this primitives)
  • [SPR-3791] - http remoting hangs indefinately because socket timeout is set to 0
  • [SPR-3800] - Inner beans cannot have a scope other than singleton?
  • [SPR-3804] - Using aop:scoped-proxy introduces unwanted extra autowire candidate even with autowire-candidate="false"
  • [SPR-3808] - Example in "Extensible XML authoring" section uses namespaces inconsistently
  • [SPR-3809] - org.springframework.jdbc.core.simple.ParameterizedBeanPropertyRowMapper does not support inheritance (extends)
  • [SPR-3814] - NPE in AbstractBeanFactory#getBean(String, Class, Object[])
  • [SPR-3818] - The hasCachedContext(Object) method in the org.springframework.text.AbstractSpringContextTests class is improperly coded.
  • [SPR-3822] - Reference manual - incorrect reference to DAO class heirarchy image
  • [SPR-3823] - <context:component-scan> is ignoring default-lazy-init="true"
  • [SPR-3824] - wrong 'expected-type' annotation for <aop:advisor>/@advice-ref
  • [SPR-3825] - PropertyEditorRegistrySupport does not copy custom editors when nestedPath is null.
  • [SPR-3826] - CommonAnnotationBeanPostProcessor (@Resource) is provoking circular reference errors
  • [SPR-3829] - An "aop:" prefix is missing in the documentation of <aop:aspectj-autoproxy>
  • [SPR-3830] - doc: DataSourceUtils documentation out of date
  • [SPR-3831] - JavaDoc - NativeJdbcExtractorAdapter methods incorrectly document the returned object
  • [SPR-3833] - Load-time weaving, @Autowired and ApplicationListener do not work together
  • [SPR-3839] - ClassUtils.forName() fails on byte arrays types
  • [SPR-3842] - Inner bean definitions overwriting each other
  • [SPR-3847] - theme handling in an error-page
  • [SPR-3849] - Untranslated UnexpectedRollbackException caused by JPA Integrity violation Exception due to deferred operations in MS SQL

Improvement

  • [SPR-1706] - HSQL: UncategorizedSQLException thrown when unique constraint is violated.
  • [SPR-2072] - Complete SimpleJdbc classes and move out of sandbox
  • [SPR-2317] - default-autowire-candidate attribute
  • [SPR-3205] - HTML escaping should be the default for form tags
  • [SPR-3646] - @Autowired and @Resource = autowiring by type and autowiring by name?
  • [SPR-3679] - Autowire byName does not work for scripted beans (Groovy in particular)
  • [SPR-3726] - What value does ResourceFactoryBean add?
  • [SPR-3727] - HibernateJDBCException doesn't log SQL statement that caused the exception
  • [SPR-3728] - Strengthen the SQLExceptionTranslator.translate contract
  • [SPR-3730] - Add support for all MessageListenerAdapter properties to the <jms:listener> tag.
  • [SPR-3739] - Cannot place objects created with ProxyFactoryBean into flow scope
  • [SPR-3741] - Some classes used by Pitchfork seems no more visible in Spring 2.1 m3
  • [SPR-3747] - Factor out retrieval of InputStream for class name to method in OverridingClassLoader
  • [SPR-3749] - ReflectionUtils.findMethod() with no paramTypes params
  • [SPR-3750] - RedirectView should not include BindException and command object toString in query parameters
  • [SPR-3751] - Enforcement of a concrete class in ClassPathScanningCandidateComponentProvider should be filter based
  • [SPR-3752] - ScannedRootBeanDefinition should call "setBeanClassName" in constructor instead of overriding getBeanClassName
  • [SPR-3753] - GroovyScriptFactory should pass the filename of the Groovy script into the GroovyClassLoader.parseClass method
  • [SPR-3754] - Minor documentation typo
  • [SPR-3763] - Reference to Java 5 implies only a 'few' are using it...
  • [SPR-3764] - Reference manual - Inconsistent reference to Java 5
  • [SPR-3767] - Reference manual - Hibernate section should specify requirement of v3.1+
  • [SPR-3768] - Reference manual - section 12.6.2. JpaTemplate and JpaDaoSupport should include JpaTemplate caveat from JavaDoc
  • [SPR-3769] - Reference manual - 12.6.1.2. LocalContainerEntityManagerFactoryBean - implies that app server setup is for LocalContainerEntityManagerFactoryBean when it is for Load Time Weaving
  • [SPR-3770] - JavaDoc for org.springframework.web.context.ContextLoader fails to mention support for Ant-style wildcards in contextConfigLocation
  • [SPR-3774] - Reference manual - 3.8.5. Convenient ApplicationContext instantiation for web applications - does not mention that wildcards are available for contextConfigLocation
  • [SPR-3780] - PathMatchingResourcePatternResolver logger should use getClass()
  • [SPR-3790] - [MockHttpServletRequest] Allow bulk adding of parameters
  • [SPR-3793] - PathMatchingResourcePatternResolver fails to find resources by wildcard from jar in OC4j
  • [SPR-3794] - [MockHttpSession] Allow session ID to be set
  • [SPR-3795] - SmartFactoryBeans should have getObject even if they are already initialized
  • [SPR-3806] - make scoped proxies work as attributesMap values in AbstractView hierarchy
  • [SPR-3807] - dependentBeanMap
  • [SPR-3819] - TypeConverterDelegate does not use property editor to implement a conversion strategy to java.lang.String
  • [SPR-3820] - Impossible to obtain a default editors other than by direct instantiation.
  • [SPR-3827] - MultiActionController API doc does not specify access requirement for handler methods.
  • [SPR-3836] - JaxRpcPortProxyFactoryBean does not remove whitespace from "namespaceUri" parameter
  • [SPR-3837] - Reduce loglevel for startNewTransaction and endTransaction in AbstractTransactionalSpringContextTests
  • [SPR-3845] - Improving component-scan performance through more specific search patterns

New Feature

  • [SPR-2325] - Treat start/stop Lifecycle of beans like the init/destroy events
  • [SPR-2540] - Junit 4.x version of AbstractTransactionalDataSourceSpringContextTests
  • [SPR-3104] - Junit4 support
  • [SPR-3535] - Tiles 2 Integration
  • [SPR-3731] - determine the dependencies of a bean
  • [SPR-3853] - upgrade OpenJPA to 1.0

Task

  • [SPR-3680] - Doc: MultiActionController request/response/exception signature not clear
  • [SPR-3732] - Documentation about behaviour of DI is misleading (and perpetuated in the forums)
  • [SPR-3756] - org.springframework.instrument package split between spring-context.jar and spring-context-support.jar
  • [SPR-3757] - Doc: Spring JPA container on Java EE 5
  • [SPR-3841] - depends-on and getDependentBean
  • [SPR-3886] - Source code JARs on maven.springframework.org do not conform to Maven2 conventions

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.