diff --git a/api/api-javascript/api-database/src/main/resources/db/dao.js b/api/api-javascript/api-database/src/main/resources/db/dao.js index f591483fd7c..1704615e409 100644 --- a/api/api-javascript/api-database/src/main/resources/db/dao.js +++ b/api/api-javascript/api-database/src/main/resources/db/dao.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/database.js b/api/api-javascript/api-database/src/main/resources/db/database.js index b4f911124c4..7827733ca76 100644 --- a/api/api-javascript/api-database/src/main/resources/db/database.js +++ b/api/api-javascript/api-database/src/main/resources/db/database.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var database = require('db/v4/database'); diff --git a/api/api-javascript/api-database/src/main/resources/db/extensions/modules.js b/api/api-javascript/api-database/src/main/resources/db/extensions/modules.js index c01776bacc6..634340dfe5c 100644 --- a/api/api-javascript/api-database/src/main/resources/db/extensions/modules.js +++ b/api/api-javascript/api-database/src/main/resources/db/extensions/modules.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ exports.getContent = function() { diff --git a/api/api-javascript/api-database/src/main/resources/db/modules.js b/api/api-javascript/api-database/src/main/resources/db/modules.js index 1de72dec719..50f691f8f90 100644 --- a/api/api-javascript/api-database/src/main/resources/db/modules.js +++ b/api/api-javascript/api-database/src/main/resources/db/modules.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ exports.getDatabase = function() { diff --git a/api/api-javascript/api-database/src/main/resources/db/orm.js b/api/api-javascript/api-database/src/main/resources/db/orm.js index b5231be7529..22199f912f5 100644 --- a/api/api-javascript/api-database/src/main/resources/db/orm.js +++ b/api/api-javascript/api-database/src/main/resources/db/orm.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/ormstatements.js b/api/api-javascript/api-database/src/main/resources/db/ormstatements.js index 89c511a9c5c..25d43d20741 100644 --- a/api/api-javascript/api-database/src/main/resources/db/ormstatements.js +++ b/api/api-javascript/api-database/src/main/resources/db/ormstatements.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/query.js b/api/api-javascript/api-database/src/main/resources/db/query.js index 9c4646cfe10..fe5eedefefe 100644 --- a/api/api-javascript/api-database/src/main/resources/db/query.js +++ b/api/api-javascript/api-database/src/main/resources/db/query.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var query = require('db/v4/query'); diff --git a/api/api-javascript/api-database/src/main/resources/db/sequence.js b/api/api-javascript/api-database/src/main/resources/db/sequence.js index 58c22c3c118..8d626ad193c 100644 --- a/api/api-javascript/api-database/src/main/resources/db/sequence.js +++ b/api/api-javascript/api-database/src/main/resources/db/sequence.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var sequence = require('db/v4/sequence'); diff --git a/api/api-javascript/api-database/src/main/resources/db/sql.js b/api/api-javascript/api-database/src/main/resources/db/sql.js index 4b73ef03105..f68bc7e7e98 100644 --- a/api/api-javascript/api-database/src/main/resources/db/sql.js +++ b/api/api-javascript/api-database/src/main/resources/db/sql.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var sql = require('db/v4/sql'); diff --git a/api/api-javascript/api-database/src/main/resources/db/update.js b/api/api-javascript/api-database/src/main/resources/db/update.js index d4b32a8ada9..600ce966f71 100644 --- a/api/api-javascript/api-database/src/main/resources/db/update.js +++ b/api/api-javascript/api-database/src/main/resources/db/update.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var update = require('db/v4/update'); diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/dao.js b/api/api-javascript/api-database/src/main/resources/db/v3/dao.js index 696491d1985..0ac167c9a61 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/dao.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/dao.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/database.js b/api/api-javascript/api-database/src/main/resources/db/v3/database.js index 0b429efb9d0..418ccad82ef 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/database.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/database.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var java = require('core/v3/java'); diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/orm.js b/api/api-javascript/api-database/src/main/resources/db/v3/orm.js index b3862bd6535..35bfa553a10 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/orm.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/orm.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/ormstatements.js b/api/api-javascript/api-database/src/main/resources/db/v3/ormstatements.js index fcbca7ce918..52b5e0eea16 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/ormstatements.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/ormstatements.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/query.js b/api/api-javascript/api-database/src/main/resources/db/v3/query.js index 727d54c7f87..d4acf5132bc 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/query.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/query.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var java = require('core/v3/java'); diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/sequence.js b/api/api-javascript/api-database/src/main/resources/db/v3/sequence.js index f9a83b06f0f..854821f49f0 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/sequence.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/sequence.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var java = require('core/v3/java'); diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/sql.js b/api/api-javascript/api-database/src/main/resources/db/v3/sql.js index 5f02c99a3ac..a8d37316f43 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/sql.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/sql.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var java = require('core/v3/java'); diff --git a/api/api-javascript/api-database/src/main/resources/db/v3/update.js b/api/api-javascript/api-database/src/main/resources/db/v3/update.js index a306a419a30..5e48154c0a2 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v3/update.js +++ b/api/api-javascript/api-database/src/main/resources/db/v3/update.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ var java = require('core/v3/java'); diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/dao.js b/api/api-javascript/api-database/src/main/resources/db/v4/dao.js index b31cf5e6912..8cfcee5ec13 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/dao.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/dao.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/database.js b/api/api-javascript/api-database/src/main/resources/db/v4/database.js index 8602d7cbf03..e00553c1cd6 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/database.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/database.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ /** diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/orm.js b/api/api-javascript/api-database/src/main/resources/db/v4/orm.js index 2ec0f1669ef..ec7e15f9cc6 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/orm.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/orm.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/ormstatements.js b/api/api-javascript/api-database/src/main/resources/db/v4/ormstatements.js index efcbcbd992d..985d8301152 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/ormstatements.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/ormstatements.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ "use strict"; @@ -18,13 +18,6 @@ var ORMStatements = function(orm, dialect){ this.orm.properties.forEach(function(property) { property.columnName = property.column; }); - let isCaseSensitive = require("core/v4/configurations").get("DIRIGIBLE_DATABASE_NAMES_CASE_SENSITIVE"); - if (isCaseSensitive) { - this.orm.table = "\"" + this.orm.table + "\""; - this.orm.properties.forEach(function(property) { - property.column = "\"" + property.column + "\"" ; - }); - }; this.dialect = dialect || require('db/v4/sql').getDialect(); }; ORMStatements.prototype.constructor = ORMStatements; diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/query.js b/api/api-javascript/api-database/src/main/resources/db/v4/query.js index 4f0e8770996..d7e593984f0 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/query.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/query.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ /** diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/sequence.js b/api/api-javascript/api-database/src/main/resources/db/v4/sequence.js index 80730af2329..36a8d644d13 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/sequence.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/sequence.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ /** diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/sql.js b/api/api-javascript/api-database/src/main/resources/db/v4/sql.js index 2e54287ba1c..5c932977f23 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/sql.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/sql.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ /** diff --git a/api/api-javascript/api-database/src/main/resources/db/v4/update.js b/api/api-javascript/api-database/src/main/resources/db/v4/update.js index 28a113f7acb..2568e2335e2 100644 --- a/api/api-javascript/api-database/src/main/resources/db/v4/update.js +++ b/api/api-javascript/api-database/src/main/resources/db/v4/update.js @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ /** diff --git a/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/AbstractSqlBuilder.java b/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/AbstractSqlBuilder.java index 2a4928fb398..1b6196f39ea 100644 --- a/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/AbstractSqlBuilder.java +++ b/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/AbstractSqlBuilder.java @@ -120,7 +120,7 @@ protected String encapsulateMany(String line) { String[] words = line.split(regex); Set functionsNames = getDialect().getFunctionsNames(); for (String word : words) { - if (isNumeric(word)) { + if (isNumeric(word) || isValue(word)) { continue; } if (!"".equals(word.trim()) @@ -144,4 +144,11 @@ protected boolean isNumeric(String s) { } return numericPattern.matcher(s).matches(); } + + protected boolean isValue(String s) { + if (s == null) { + return false; + } + return s.startsWith("'") || s.endsWith("'"); + } } diff --git a/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/records/DeleteBuilder.java b/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/records/DeleteBuilder.java index 40cd09222ad..85978b52aea 100644 --- a/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/records/DeleteBuilder.java +++ b/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/builders/records/DeleteBuilder.java @@ -1,12 +1,12 @@ /* - * Copyright (c) 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * Copyright (c) 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v20.html * - * SPDX-FileCopyrightText: 2010-2020 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors + * SPDX-FileCopyrightText: 2010-2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors * SPDX-License-Identifier: EPL-2.0 */ package org.eclipse.dirigible.database.sql.builders.records; @@ -98,7 +98,7 @@ public String generate() { */ protected void generateTable(StringBuilder sql) { String tableName = (isCaseSensitive()) ? encapsulate(this.getTable()) : this.getTable(); - sql.append(SPACE).append(KEYWORD_FROM).append(SPACE).append(this.table); + sql.append(SPACE).append(KEYWORD_FROM).append(SPACE).append(tableName); } /** diff --git a/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/dialects/DefaultSqlDialect.java b/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/dialects/DefaultSqlDialect.java index 3f85b1993e5..57c3853a353 100644 --- a/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/dialects/DefaultSqlDialect.java +++ b/modules/database/database-sql/src/main/java/org/eclipse/dirigible/database/sql/dialects/DefaultSqlDialect.java @@ -203,6 +203,7 @@ public class DefaultSqlDialect