From 9c0b2a7b312c507680c1546bce6e2f30ab1a11b7 Mon Sep 17 00:00:00 2001
From: gmantele <gmantele@ari.uni-heidelberg.de>
Date: Wed, 8 Mar 2017 17:58:59 +0100
Subject: [PATCH] [TAP] Remove duplicated schema prefix (for DBMS not
 supporting schemas). This issue has been raised with an H2 database.

---
 src/tap/db/JDBCConnection.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/tap/db/JDBCConnection.java b/src/tap/db/JDBCConnection.java
index 2f6e294..28b8d24 100644
--- a/src/tap/db/JDBCConnection.java
+++ b/src/tap/db/JDBCConnection.java
@@ -1502,8 +1502,6 @@ public class JDBCConnection implements DBConnection {
 
 			// CASE: no custom definition:
 			if (customStdTables[i] == null){
-				if (!supportsSchema)
-					stdTables[i].setDBName(STDSchema.TAPSCHEMA.label + "_" + stdTables[i].getADQLName());
 				// add the table to the fetched or built-in schema:
 				tapSchema.addTable(stdTables[i]);
 			}
-- 
GitLab