[424116] Session closed if HQL with syntax errors executed
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/resource/HibernateResource.java b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/resource/HibernateResource.java
index 945dbe0..ebdd3d9 100755
--- a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/resource/HibernateResource.java
+++ b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/resource/HibernateResource.java
@@ -275,7 +275,8 @@
 			if (!hasSessionController) {
 				if (err) {
 					getSessionWrapper().rollbackTransaction();
-					getSessionWrapper().close();
+					// https://bugs.eclipse.org/bugs/show_bug.cgi?id=424116
+					// getSessionWrapper().close();
 				} else {
 					getSessionWrapper().commitTransaction();
 				}
@@ -350,7 +351,8 @@
 			if (!hasSessionController) {
 				if (err) {
 					mySessionWrapper.rollbackTransaction();
-					mySessionWrapper.close();
+					// https://bugs.eclipse.org/bugs/show_bug.cgi?id=424116
+					// mySessionWrapper.close();
 				} else {
 					mySessionWrapper.commitTransaction();
 				}
@@ -508,7 +510,8 @@
 			if (!hasSessionController) {
 				if (err) {
 					mySessionWrapper.rollbackTransaction();
-					mySessionWrapper.close();
+					// https://bugs.eclipse.org/bugs/show_bug.cgi?id=424116
+					// mySessionWrapper.close();
 				} else {
 					mySessionWrapper.commitTransaction();
 				}
@@ -641,7 +644,8 @@
 			if (!hasSessionController) {
 				if (err) {
 					mySessionWrapper.rollbackTransaction();
-					mySessionWrapper.close();
+					// https://bugs.eclipse.org/bugs/show_bug.cgi?id=424116
+					// mySessionWrapper.close();
 				} else {
 					mySessionWrapper.commitTransaction();
 				}
@@ -697,7 +701,8 @@
 			if (!hasSessionController) {
 				if (err) {
 					mySessionWrapper.rollbackTransaction();
-					mySessionWrapper.close();
+					// https://bugs.eclipse.org/bugs/show_bug.cgi?id=424116
+					// mySessionWrapper.close();
 				} else {
 					mySessionWrapper.commitTransaction();
 				}