You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have uninstalled hibernate plugin because I wanted to use only MongoDB for the data source.
When I installed the custom constraints plugin, a compilation error occurred.
The error message said that "DefaultGrailsConstraintClass.java" has a dependency to hibernate plugin(org.hibernate.SessionFactory).
Are there any ways to avoid this error?
The text was updated successfully, but these errors were encountered:
As far as I can tell there's no way to avoid the dependency as it's currently constructed. To solve it I might need to split the plugin into a "core" and a "hibernate" plugin. I'm not sure what that would involve at this point.
I'm not sure how the non-hibernate GORM plugins handle constraints that need to access the data store while validating, but if you can shift the dependency to be on GORM, rather than on hibernate directly, that should be able to solve the issue of being tied to hibernate.
Thank you for creating this great plugin.
I have uninstalled hibernate plugin because I wanted to use only MongoDB for the data source.
When I installed the custom constraints plugin, a compilation error occurred.
The error message said that "DefaultGrailsConstraintClass.java" has a dependency to hibernate plugin(org.hibernate.SessionFactory).
Are there any ways to avoid this error?
The text was updated successfully, but these errors were encountered: