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

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

spring-issuemaster opened this issue Mar 20, 2015 · 1 comment


None yet
2 participants
Copy link

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.


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

Affects: 3.0 GA

Issue Links:

  • #17432 Introduce database-name attribute in <jdbc:embedded-database /> ("is depended on by")

Referenced from: commits 7e2f12c


This comment has been minimized.

Copy link
Collaborator Author

commented Mar 20, 2015

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
You can’t perform that action at this time.