Skip to content

Commit ecc758f

Browse files
committed
HBX-2979: Review the licensing headers and files
- Handle the 'test/mssql' subproject Signed-off-by: Koen Aers <[email protected]>
1 parent 4a3dbdf commit ecc758f

File tree

91 files changed

+1520
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1520
-31
lines changed

test/mssql/pom.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Hibernate Tools, Tooling for your Hibernate Projects
3+
~ Copyright 2004 - 2025 Red Hat, Inc.
44
~
5-
~ Copyright 2018-2021 Red Hat, Inc.
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
68
~
7-
~ Licensed under the GNU Lesser General Public License (LGPL),
8-
~ version 2.1 or later (the "License").
9-
~ You may not use this file except in compliance with the License.
10-
~ You may read the licence in the 'lgpl.txt' file in the root folder of
11-
~ project or obtain a copy at
12-
~
13-
~ http://www.gnu.org/licenses/lgpl-2.1.html
9+
~ http://www.apache.org/licenses/LICENSE-2.0
1410
~
1511
~ Unless required by applicable law or agreed to in writing, software
1612
~ distributed under the License is distributed on an "AS IS" basis,

test/mssql/readme.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
18+
119
The tests in this project will run when the 'all' profile is used and when the database is online.
220

321
The project was developed against the Microsoft SQL Server for Linux database running on localhost in a Docker container.

test/mssql/src/test/java/org/hibernate/tool/jdbc2cfg/Identity/TestCase.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2021 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

test/mssql/src/test/java/org/hibernate/tool/test/db/sqlserver/TestSuite.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2021 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

test/mssql/src/test/resources/hibernate.properties

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
118
hibernate.dialect org.hibernate.dialect.SQLServerDialect
219
hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver
320
hibernate.connection.username sa
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
118
CREATE SCHEMA HTT
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
118
DROP SCHEMA HTT

test/mssql/src/test/resources/org/hibernate/tool/ant/Cfg2HbmNoError/create.sql

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
118
CREATE SCHEMA HTT
219
CREATE TABLE HTT.VERY_SIMPLE_TABLE ( ID INT NOT NULL, NAME VARCHAR(255), PRIMARY KEY (ID) )
320
INSERT INTO HTT.VERY_SIMPLE_TABLE VALUES ( 1, 'A Row')
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
118
DELETE FROM HTT.VERY_SIMPLE_TABLE WHERE ID > 0
219
DROP TABLE HTT.VERY_SIMPLE_TABLE
320
DROP SCHEMA HTT

test/mssql/src/test/resources/org/hibernate/tool/ant/Cfg2HbmWithCustomReverseNamingStrategy/create.sql

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
############################################################################
2+
# Hibernate Tools, Tooling for your Hibernate Projects #
3+
# #
4+
# Copyright 2004-2025 Red Hat, Inc. #
5+
# #
6+
# Licensed under the Apache License, Version 2.0 (the "License"); #
7+
# you may not use this file except in compliance with the License. #
8+
# You may obtain a copy of the License at #
9+
# #
10+
# http://www.apache.org/licenses/LICENSE-2.0 #
11+
# #
12+
# Unless required by applicable law or agreed to in writing, software #
13+
# distributed under the License is distributed on an "AS IS" basis, #
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15+
# See the License for the specific language governing permissions and #
16+
# limitations under the License. #
17+
############################################################################
118
CREATE SCHEMA HTT
219
CREATE TABLE HTT.VERY_SIMPLE_TABLE ( ID INT NOT NULL, NAME VARCHAR(255), PRIMARY KEY (ID) )
320
INSERT INTO HTT.VERY_SIMPLE_TABLE VALUES ( 1, 'A Row')

0 commit comments

Comments
 (0)