Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hibernate cache SPI integration -> LocalRegionFactoryProxy needs a LocalRegionFactoryProxy(Properties) constructor [SPR-6804] #11470

Closed
spring-projects-issues opened this issue Feb 5, 2010 · 1 comment
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Feb 5, 2010

Manuel Dominguez Sarmiento opened SPR-6804 and commented

Hibernate's RegionFactory interface's Javadoc states that implementations should either provide parameterless constructors, or a constructor that takes a Properties object as its only argument. However, only the second option actually works, since Hibernate's SettingsFactory attempts to find such a constructor via reflection and fails if it does not one.

This is an unresolved Hibernate bug, but affects LocalRegionFactoryProxy which does not work as it currently exists.

Hibernate bug:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3695

This issue is related to:
http://jira.springframework.org/browse/SPR-6387


Affects: 3.0 GA

Attachments:

Issue Links:

Referenced from: commits b25dc7c

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Feb 6, 2010

Manuel Dominguez Sarmiento commented

Attached patched class which also resolves #11471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants