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

Fixes the usage of this plugin by Grails applications that do not have a relational DB data source #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aruizca
Copy link

@aruizca aruizca commented Jul 9, 2015

Eg: front-end app that only uses web services to access data

When no datasource is present in the DataSource.groovy file, a transaction manager is not created and therefore the services with a @transaction annotation fail at runtime
It is the same scenario as the one described in this stackoverflow entry: http://stackoverflow.com/questions/10296382/developing-grails-plugin-no-bean-named-transactionmanager-is-defined-in-inte
Regardless of this error, since all the DB operations performed to generate a report are read-only, a transaction is not required.
Cheers

…e a relational DB data source. Eg: front-end that only uses web services to access data

When no datasource is present in the DataSource.groovy file, a transaction manager is not created and therefore the services with a @transaction annotation fails at runtime
It is the same scenario as the one described in this stackoverflow entry http://stackoverflow.com/questions/10296382/developing-grails-plugin-no-bean-named-transactionmanager-is-defined-in-inte
Regardless of this error, since all the DB operations performed to generate a report are read-only, a transactions is not required
@aruizca
Copy link
Author

aruizca commented Jul 9, 2015

@candrews Are you still maintaining this plugin?

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

Successfully merging this pull request may close these issues.

1 participant