Which version of Sync will work with the Reference Application_2.12.2

Application Name: Reference Application Version Number: 2.12.2

Question: Which version of Sync will work with the OpenMRS_Reference_Application_2.12.2?

I tried Sync 2 but after adding the module the system crashes.

You probably wanna use sync instead of sync2

https://wiki.openmrs.org/display/docs/sync+module

I was trying to install Sync 2. I am uploading the module using Admin UI. After uploading I am getting the following error

Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: ‘org.hibernate.FlushMode org.hibernate.Session.getFlushMode()’

Stack Trace:

java.lang.NoSuchMethodError: ‘org.hibernate.FlushMode org.hibernate.Session.getFlushMode()’ org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptor.shouldSynchronize(HibernateSyncInterceptor.java:862) org.openmrs.module.sync.api.db.hibernate.HibernateSyncInterceptor.onFlushDirty(HibernateSyncInterceptor.java:174) org.openmrs.api.db.hibernate.ChainingInterceptor.onFlushDirty(ChainingInterceptor.java:77)

The Sync2 module would require some development work to support the version of the OpenMRS platform that you are running.

Thanks for the response.

Any specific version I can use that will work out of box without customization.

Try OpenMRS platform 2.0