Skip to content

Hibernate 4 Multi Tenancy Feature Support [SPR-10823] #15449

Closed
@spring-projects-issues

Description

@spring-projects-issues

I. Benyaminov opened SPR-10823 and commented

At the moment there is no way to provide bean reference for MultiTenantConnectionProvider. This is necessary because an implementation of MultiTentnatConnectionProvider needs to be wired to a DataSource. The current version of LocalSessionFactoryBuilder sets only the dataSource property to a bean reference. Since currently any implementation of MultiTenantConnectionProvider is not Spring managed, users are forced to define another DataSource/Connection Pool with hard coded db properties or a non Spring way of accessing those properties


Affects: 3.2.4

Reference URL: http://docs.jboss.org/hibernate/orm/4.1/devguide/en-US/html/ch16.html#d5e4605

Issue Links:

Referenced from: commits 542b5b2

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