The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
MIT License
23
stars
79
forks
source link
OZ-90: Validator on OpenMRS to 2.3.6 + fix LazyInitializationException on successful validations. #238
While putting Validator to stress test, it could randomly fail because of some hibernate indexing during some @After test method. To resolve that I've had to add the following to the hibernate runtime config hibernate.search.indexing_strategy = manual. The offending full stack trace looks like this and is Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
While putting Validator to stress test, it could randomly fail because of some hibernate indexing during some
@After
test method. To resolve that I've had to add the following to the hibernate runtime confighibernate.search.indexing_strategy = manual
. The offending full stack trace looks like this and isCaused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session