If StatelessSession was created with SessionFactory.openStatelessSession(Connection) and connection is obtained from already opened Session, attempt to close Original Session at the end of transaction is failing with exception "org.hibernate.HibernateException: proxy handle is no longer valid"
This message was sent by Atlassian JIRA (v6.1-OD-09-WN#6144-sha1:62dfc48)