diff --git a/WeaveServices/src/weave/config/SQLConfigUtils.java b/WeaveServices/src/weave/config/SQLConfigUtils.java
index <HASH>..<HASH> 100644
--- a/WeaveServices/src/weave/config/SQLConfigUtils.java
+++ b/WeaveServices/src/weave/config/SQLConfigUtils.java
@@ -208,7 +208,11 @@ public class SQLConfigUtils
 	public synchronized static int migrateSQLConfig( ISQLConfig source, ISQLConfig destination) throws RemoteException, SQLException
 	{
 		DebugTimer timer = new DebugTimer();
-		Connection conn = (destination instanceof DatabaseConfig) ? ((DatabaseConfig)destination).getConnection() : null;
+		Connection conn = null;

+		if (destination instanceof DatabaseConfig)

+			conn = ((DatabaseConfig)destination).getConnection();

+		if (destination instanceof SQLConfig)

+			conn = ((SQLConfig)destination).getConnection();
 		Savepoint savePoint = null;
 		int count = 0;
 		try
added check for instanceof SQLConfig in migration code

Change-Id: Ida9b<I>f<I>d<I>c<I>e<I>cd6d3