Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2013-12-16 08:28:31 -0500
committerMartin Taal2013-12-16 08:28:31 -0500
commitbea900fc7e88fb86c9247ae56983e1deedcc3546 (patch)
treec714d5769dd596aff33ea6c281463aa92807f608
parent654fad29084b2ab42a417acc6ddfd26f9ea8f1a0 (diff)
downloadorg.eclipse.emf.teneo-master.tar.gz
org.eclipse.emf.teneo-master.tar.xz
org.eclipse.emf.teneo-master.zip
[424116] Session closed if HQL with syntax errors executedHEADmaster
-rwxr-xr-xhibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/resource/HibernateResource.java15
1 files changed, 10 insertions, 5 deletions
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 945dbe0ae..ebdd3d9ce 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 @@ public class HibernateResource extends StoreResource implements HbResource {
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 @@ public class HibernateResource extends StoreResource implements HbResource {
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 @@ public class HibernateResource extends StoreResource implements HbResource {
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 @@ public class HibernateResource extends StoreResource implements HbResource {
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 @@ public class HibernateResource extends StoreResource implements HbResource {
if (!hasSessionController) {
if (err) {
mySessionWrapper.rollbackTransaction();
- mySessionWrapper.close();
+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=424116
+ // mySessionWrapper.close();
} else {
mySessionWrapper.commitTransaction();
}

Back to the top