Commit 2b10b133 authored by gmantele's avatar gmantele
Browse files

[TAP] Default TAPSchema DB name set to the ADQL name ; so if the column...

[TAP] Default TAPSchema DB name set to the ADQL name ; so if the column TAP_SCHEMA.schemas.dbname is NULL or empty, the DB name must be set to the ADQL name. For the moment no empty schema is allowed.
parent 3821885f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -546,6 +546,7 @@ public class JDBCConnection implements DBConnection {

				// create the new schema:
				TAPSchema newSchema = new TAPSchema(schemaName, nullifyIfNeeded(description), nullifyIfNeeded(utype));
				if (dbName != null && dbName.trim().length() > 0)
					newSchema.setDBName(dbName);

				// add the new schema inside the given metadata: