From a7ffaee262eeb98f198393c85e5100af7624eea0 Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Wed, 22 Sep 2010 21:03:51 +0000
Subject: [PATCH] fix: activate exception translation

SVN: 17988
---
 .../java/ch/systemsx/cisd/yeastx/db/DBUtilsForTests.java        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rtd_yeastx/sourceTest/java/ch/systemsx/cisd/yeastx/db/DBUtilsForTests.java b/rtd_yeastx/sourceTest/java/ch/systemsx/cisd/yeastx/db/DBUtilsForTests.java
index f1426116fab..03d077b4dd1 100644
--- a/rtd_yeastx/sourceTest/java/ch/systemsx/cisd/yeastx/db/DBUtilsForTests.java
+++ b/rtd_yeastx/sourceTest/java/ch/systemsx/cisd/yeastx/db/DBUtilsForTests.java
@@ -17,6 +17,7 @@
 package ch.systemsx.cisd.yeastx.db;
 
 import ch.rinn.restrictions.Friend;
+import ch.systemsx.cisd.common.spring.SpringEoDSQLExceptionTranslator;
 import ch.systemsx.cisd.dbmigration.DBMigrationEngine;
 import ch.systemsx.cisd.dbmigration.DatabaseConfigurationContext;
 
@@ -31,6 +32,7 @@ public class DBUtilsForTests
 
     public static void init(DatabaseConfigurationContext context)
     {
+        SpringEoDSQLExceptionTranslator.activate();
         DBMigrationEngine.createOrMigrateDatabaseAndGetScriptProvider(context,
                 MetabolDatabaseVersionHolder.DATABASE_VERSION);
     }
-- 
GitLab