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

Plugin does not work with Multiple Datasources #39

Open
cleydsonjr opened this issue Jul 1, 2014 · 1 comment
Open

Plugin does not work with Multiple Datasources #39

cleydsonjr opened this issue Jul 1, 2014 · 1 comment

Comments

@cleydsonjr
Copy link

I'm trying to apply the plugin multi-tenant-single-db (http://grails.org/plugin/multi-tenant-single-db) on some domain classes that are configured to use a secondary datasource (http://grails.org/doc/2.2.4/guide/conf.html#multipleDatasources). The Tenant class and the filtered classes are persisted on this datasource but the hibernate filters are not working.

I understand that the plugin uses another plugin (grails-hibernate-hijacker) to intercept some hibernate events. But it seem to capture events fired only on the DEFAULT data source.
Maybe some configuration is needed.

Debugging I've realized that while working with this domain instances only the "flush" event gets captured.

@vishwa-vyom
Copy link

I am also facing the same issue, any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants