LDEV-3320: Switch TransactionManager used by LAMS to JTA. Update hibernate.properties to use JTA platform as transactions provier. Update hibernate.properties to use TransactionAwareSessionContext .In order for Infinispan and Hibernate to correctly cooperate within transactions - it is recommended to use TransactionManager that supports JTATransactions (LAMS was using JDBCTransaction type). http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_jta_transactions_configuration
LDEV-3364: add TransactionAwareSessionContext implementation to fix 'No Session Found for current thread' issue.This is not yet bound to hibernate.properties