LDEV-3293: fix hibernate dtd declarations. Change 'hibernate.org' to 'www.hibernate.org'.In order for hibernate DTDEntityResolver not to load hibernate-mapping-3.0.dtd from internet (and use local one), namespace declaration of dtd must exactly match the namespace declared in DTDEntityResolver class.
LDEV-3319: update dbupdates scripts to use temporary tables for 'temp_select'.Although the whole db update process is now globally synchronized in LAMS, it is better to use 'temporary' MySQL tables in case of 'temp_select' tables.
LDEV-3319: Synchronize patch execution with an external monitor.Modules in WildFly can be loaded in parallel. AutoPatch is not ready for this as it uses static methods with unsynchronized collections. Each AutoPatchService instance should be run sequentially.
LDEV-2866 rolling back to the previous version of these jsps (as committed changes were done solely for testing purposes and not supposed to be committed)
LDEV-3293: Use Spring support for Hibernate 4 instead of 3 (session factory and filters).Use new path for Hibernate DTDs. Make XDoclet generate hbm.xml files with the correct path by providing it a new template.
LDEV-3293: Use the new Spring's support for Hibernate 4 instead of Hibernate 3. Switch from using HibernateDaoSupport.getSession() to its getSessionFactory().getSession(). The latter is sure to close the session automatically while a session returned by the first method should be closed manually. Theoritecally we do it in OpenSessionInViewFilter, but it may not be always the case, leading to open Hibernate session being left behind.
LDEV-3275: Decrease version of Hibernate from 4.x (delivered to WildFly) to 3.6.10 (newer than used before, but still 3.x as otherwise Spring won't work with it).