Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-05-11 13:13:47 +0000
committerMartin Taal2011-05-11 13:13:47 +0000
commita005051e394d3dfa74a5cbbe8d6a1b4aaae5bc80 (patch)
treefe436f0b32a65264c3ce53274cb7ccf19a53d075 /plugins/org.eclipse.emf.cdo.server.hibernate
parentb1fb06ac3a16d1f51ac6b986bc8e07602b180534 (diff)
downloadcdo-a005051e394d3dfa74a5cbbe8d6a1b4aaae5bc80.tar.gz
cdo-a005051e394d3dfa74a5cbbe8d6a1b4aaae5bc80.tar.xz
cdo-a005051e394d3dfa74a5cbbe8d6a1b4aaae5bc80.zip
Fixes bugzilla 345167 - [Hibernate] solved failing query tests
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateQueryHandler.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateQueryHandler.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateQueryHandler.java
index 85925a93c7..79f42de7e0 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateQueryHandler.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateQueryHandler.java
@@ -190,6 +190,10 @@ public class HibernateQueryHandler implements IQueryHandler
revision.getClassInfo().getFeatureIndex(featureID);
return true;
}
+ catch (IllegalArgumentException e)
+ {
+ return false;
+ }
catch (ArrayIndexOutOfBoundsException ex)
{
return false;

Back to the top