Skip to content

SPR-7752 - EntityManager proxy now exposes provider specific interface.#4

Closed
odrotbohm wants to merge 4839 commits intospring-projects:masterfrom
odrotbohm:7752-em-interfaces
Closed

SPR-7752 - EntityManager proxy now exposes provider specific interface.#4
odrotbohm wants to merge 4839 commits intospring-projects:masterfrom
odrotbohm:7752-em-interfaces

Conversation

@odrotbohm
Copy link
Copy Markdown
Member

The AbstractEntityMangerFactory now exposes the provider specific interface determined by the persistence provider class name even if the persistence provider is not configured specifically. We support Hibernate, EclipseLink and OpenJPA here. DataNucleus is not exposing a special interface, so there's no need to handle it.

cbeams and others added 30 commits September 13, 2011 18:53
Previously, #containsBean Javadoc advertised that a true return value
indicates that a call to #getBean for the same name would succeed.

This is actually not the case, and has never been.  The semantics
of #containsBean have always been to indicate whether a bean definition
with the given name is definied or a singleton instance with the given
name has been registered.

The Javadoc now reflects this accurately.

Issue: SPR-8690

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4971 50f2f4bb-b051-0410-bef5-90022cba6387
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4972 50f2f4bb-b051-0410-bef5-90022cba6387
…ween string paths and path segment lists automatically.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4974 50f2f4bb-b051-0410-bef5-90022cba6387
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4980 50f2f4bb-b051-0410-bef5-90022cba6387
1. Consider single-purpose return value types like HttpEntity, Model,
View, and ModelAndView ahead of annotations like @responsebody and
@ModelAttribute. And reversely consider multi-purpose return value 
types like Map, String, and void only after annotations like
@rb and @ma.

2. Order custom argument resolvers and return value handlers after the
built-in ones also clarifying the fact they cannot be used to override
the built-in ones in Javadoc throughout.

3. Provide hooks in RequestMappingHandlerAdapter that subclasses can use
to programmatically modify the list of argument resolvers and return
value handlers, also adding new getters so subclasses can get access
to what they need for the override.

4. Make SessionStatus available through ModelAndViewContainer and 
provide an argument resolver for it.

5. Init test and javadoc improvements.




git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4984 50f2f4bb-b051-0410-bef5-90022cba6387
RequestCondition types keep individual expression types (e.g. the
discrete header or param expressions) package private. Although the 
implementation of these types should remain private, there is no 
reason not to provide access to the underlying expression data --
e.g. for creating a REST endpoint documentation tool, or if you 
want to know which of the "consumes"/"produces" media types
are negated.

This change ensures that all RequestCondition types have a public
getter that makes available the basic expression data. 




git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4985 50f2f4bb-b051-0410-bef5-90022cba6387
Make it possible to hook in custom ServletRequestDataBinderFactory
by overriding RequestMappingHandlerAdapter. 

Create ExtendedServletRequestDataBinder to add URI template vars
to the binding values taking advantage of a new extension hook in
ServletRequestDataBinder to provide additional values to bind.




git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4987 50f2f4bb-b051-0410-bef5-90022cba6387
…nners.model.MultipleFailureException, which has been deprecated in JUnit 4.9.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4988 50f2f4bb-b051-0410-bef5-90022cba6387
… is a super-class of the actual target.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4989 50f2f4bb-b051-0410-bef5-90022cba6387
…rmined why changes to GenericConversionService broke this test.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4990 50f2f4bb-b051-0410-bef5-90022cba6387
…nges to GenericConversionService broke this test.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4992 50f2f4bb-b051-0410-bef5-90022cba6387
When a @ModelAttribute is instantiated from a URI variable with type
conversion, if conversion fails allow the exception to propagate. 
This is consistent with what happens on type conversion failure with
@PathVariable and other args that rely on type conversion.



git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4997 50f2f4bb-b051-0410-bef5-90022cba6387
jhoeller and others added 5 commits November 28, 2011 22:34
The AbstractEntityMangerFactory now exposes the provider specific interface determined by the persistence provider class name even if the persistence provider is not configured specifically. We support Hibernate, EclipseLink and OpenJPA here. DataNucleus is not exposing a special interface, so there's no need to handle it.
@cbeams
Copy link
Copy Markdown
Contributor

cbeams commented Feb 2, 2012

Resolved as "Works as Designed" in JIRA. Closing.

@cbeams cbeams closed this Feb 2, 2012
bclozel added a commit that referenced this pull request Jun 19, 2014
Fix ZeroClipboard integration in gh-pages
drodriguezhdez referenced this pull request in scope-demo/spring-framework Oct 14, 2019
Ganeshgautam pushed a commit to atlassian-forks/spring-framework that referenced this pull request May 26, 2025
…projects#4)

CONFSERVER-97986 fixing version

Approved-by: Kusal Kithul-Godage
Approved-by: Billy McCarthy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants