SessionFactory issue after Hibernate 4 upgrade

I have summarised what we came up with on the following wiki: https://wiki.openmrs.org/display/docs/Supporting+Platform+1.12+and+below

@kristopherschmidt, could you please include the message suggested by Burke in your changes for the Atlas module? I would also like to ask you to review the wiki I’ve created. Please feel free to edit the page if you think anything is missing or could be improved. Would you be able to join the design call on Monday to share your experience with that?