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

Adding validation-api dependencies. #257

Merged
merged 1 commit into from Mar 27, 2013
Merged

Conversation

nutsiepully
Copy link
Contributor

Adding the validation-api dependencies as discussed.

  • Includes modifications to the pom.
  • Adds a configuration to hibernate to ensure that hibernate doesn't automatically start looking for validators which is the default setting.

@@ -18,6 +18,8 @@
~/.OpenMRS/lucene-index/
</property>

<property name="javax.persistence.validation.mode">none</property>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nutsiepully what is this line for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@djazayeri - on adding the validation-api, hibernate-core attempts to use reflection and start using validation automatically. If fails since no validation implementation is present. This is to disable that from happening.

djazayeri added a commit that referenced this pull request Mar 27, 2013
Adding validation-api dependencies.
@djazayeri djazayeri merged commit 6bec7a3 into openmrs:master Mar 27, 2013
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants