Skip to content

Commit 837c954

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

File tree

26 files changed

+351
-409
lines changed

26 files changed

+351
-409
lines changed

test/oracle/README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<!--
2-
~ Hibernate Tools, Tooling for your Hibernate Projects
2+
~ Copyright 2010 - 2025 Red Hat, Inc.
33
~
4-
~ Copyright 2020 Red Hat, Inc.
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
57
~
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
11-
~
12-
~ http://www.gnu.org/licenses/lgpl-2.1.html
8+
~ http://www.apache.org/licenses/LICENSE-2.0
139
~
1410
~ Unless required by applicable law or agreed to in writing, software
1511
~ distributed under the License is distributed on an "AS IS" basis,

test/oracle/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 2010 - 2025 Red Hat, Inc.
44
~
5-
~ Copyright 2017-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/oracle/src/test/java/org/hibernate/cfg/reveng/dialect/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 2018-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/oracle/src/test/java/org/hibernate/tool/jdbc2cfg/CompositeIdOrder/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 2018-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/oracle/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 2018-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/oracle/src/test/java/org/hibernate/tool/jdbc2cfg/Views/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 2017-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/oracle/src/test/java/org/hibernate/tool/test/db/oracle/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 2017-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/oracle/src/test/resources/hibernate.properties

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
#
2-
# Hibernate Tools, Tooling for your Hibernate Projects
3-
#
4-
# Copyright 2017-2020 Red Hat, Inc.
5-
#
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
11-
#
12-
# http://www.gnu.org/licenses/lgpl-2.1.html
13-
#
14-
# Unless required by applicable law or agreed to in writing, software
15-
# distributed under the License is distributed on an "AS IS" basis,
16-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
# See the License for the specific language governing permissions and
18-
# limitations under the License.
19-
#
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+
############################################################################
2018

2119
hibernate.dialect org.hibernate.dialect.Oracle12cDialect
2220
hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
/*
2-
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2018-2020 Red Hat, Inc.
5-
*
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
11-
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
13-
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" basis,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
18-
* limitations under the License.
19-
*/
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+
############################################################################
2018
CREATE TABLE person ( id NUMBER(2) PRIMARY KEY, a_varchar2_char VARCHAR2(10 CHAR), a_varchar2_byte VARCHAR2(10 BYTE), a_varchar_char VARCHAR(10 CHAR), a_varchar_byte VARCHAR(10 BYTE), a_nvarchar NVARCHAR2(10), a_char_char CHAR(10 CHAR), a_char_byte CHAR(10 BYTE), a_nchar_char NCHAR(10), a_nchar_byte NCHAR(10), a_number_int NUMBER(10), a_number_dec NUMBER(10, 2), a_float FLOAT(10))
Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
/*
2-
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2018-2020 Red Hat, Inc.
5-
*
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
11-
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
13-
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" basis,
16-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
18-
* limitations under the License.
19-
*/
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+
############################################################################
2018
DROP TABLE PERSON

0 commit comments

Comments
 (0)