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

Added load order dependency with hibernate, gorm #19

Merged
merged 2 commits into from
Jun 24, 2014

Conversation

cknoblauch
Copy link
Contributor

Added load order dependency with hibernate and gorm to ensure the methods they add to the domain classes are already present by the time activiti loads, in case a task fired at start-up will need them.
This can happen if we have a timer-triggered task with a timer that is overdue when the plug-in starts (i.e. because the application was down when it was programmed to fire). As soon as the plugin loads, the overdue timer is triggered and the task/process attached to it fire. If the task happens to call a method that uses a GORM-autogenerated method (findBy*, etc.) and the gorm/hibernate plugins haven't loaded yet, the call to the method will fail.

Added load order dependency with hibernate and gorm to ensure the methods they add to the domain classes are already present by the time activiti loads, in case a task fired at start-up will need them.
limcheekin added a commit that referenced this pull request Jun 24, 2014
Added load order dependency with hibernate, gorm
@limcheekin limcheekin merged commit 79d08d5 into limcheekin:master Jun 24, 2014
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.

2 participants