Skip to content

Allow <jdbc:embedded-database /> to be declared as an anonymous bean [SPR-12834] #17431

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

Closed
spring-projects-issues opened this issue Mar 20, 2015 · 1 comment
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 20, 2015

Sam Brannen opened SPR-12834 and commented

Status Quo

Currently, <jdbc:embedded-database /> cannot be declared without specifying an id. However, when the DataSource is autowired by type, an explicit id is not absolutely necessary.

Deliverables

  1. Allow <jdbc:embedded-database /> to be declared as an anonymous bean

Affects: 3.0 GA

Issue Links:

Referenced from: commits 7e2f12c

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Addressed in GitHub commit 7e2f12c:

Allow jdbc:embedded-database to be declared w/o id

This commit modifies EmbeddedDatabaseBeanDefinitionParser so that the
jdbc:embedded-database XML namespace element can be declared as an
anonymous bean (i.e., without an explicit ID).

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) in: test Issues in the test module type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants