Skip to content

jdbc:datasource lacks 'name' attribute or related mechanism [SPR-7604] #12260

@spring-projects-issues

Description

@spring-projects-issues

Benson Margulies opened SPR-7604 and commented

The EmbeddedDatabaseBuilder has a setName call. There is no corresponding attribute on jdbc:embedded-database. This is more than than esthetic: with 10.6.1.0 of derby, making two databases with the same name against a memory URL really only makes one, with rather unpleasant consequences reported elsewhere.

It has been suggested to use the beanId as the name instead of testDb; that would certainly patch the immediate problem even if a name= attribute would be nice.


Affects: 3.0.4

Attachments:

Issue Links:

Referenced from: commits 1c6e131, ba2bac1

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions