diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java index 0ad250587a..ed4f413a8f 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java @@ -1136,7 +1136,8 @@ public class BinderHelper { final ClassDetails packageInfoClassDetails = classDetailsRegistry.resolveClassDetails( packageInfoName ); return packageInfoClassDetails.getAnnotationUsage( annotationType ); } - catch (ClassLoadingException ignore) {} + catch (ClassLoadingException ignore) { + } return null; } diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/FetchSecondPass.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/FetchSecondPass.java index c761819e38..6528c1ae56 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/FetchSecondPass.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/FetchSecondPass.java @@ -45,8 +45,10 @@ public class FetchSecondPass implements SecondPass { final String profileName = fetch.getString( "profile" ); final FetchProfile profile = buildingContext.getMetadataCollector().getFetchProfile( profileName ); if ( profile == null ) { - throw new AnnotationException( "Property '" + qualify( propertyHolder.getPath(), propertyName ) - + "' refers to an unknown fetch profile named '" + profileName + "'" ); + throw new AnnotationException( + "Property '" + qualify( propertyHolder.getPath(), propertyName ) + + "' refers to an unknown fetch profile named '" + profileName + "'" + ); } if ( profile.getSource() == ANNOTATIONS ) { diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/InheritanceState.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/InheritanceState.java index 4d23238f2b..bbc758554a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/InheritanceState.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/InheritanceState.java @@ -288,8 +288,10 @@ public class InheritanceState { } } } - throw new AnnotationException( "Entity '" + classDetails.getName() + "' has no identifier" - + " (every '@Entity' class must declare or inherit at least one '@Id' or '@EmbeddedId' property)" ); + throw new AnnotationException( + "Entity '" + classDetails.getName() + "' has no identifier" + + " (every '@Entity' class must declare or inherit at least one '@Id' or '@EmbeddedId' property)" + ); } private void getMappedSuperclassesTillNextEntityOrdered() { diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java index 6b2ab2d405..d4f79136ec 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java @@ -446,8 +446,9 @@ public class PropertyBinder { final GeneratorCreator candidate = generatorCreator( property, usage, buildingContext ); if ( candidate != null ) { if ( creator != null ) { - throw new AnnotationException( "Property '" + qualify( holder.getPath(), name ) - + "' has multiple '@ValueGenerationType' annotations" ); + throw new AnnotationException( String.format( + "Property `%s` has multiple '@ValueGenerationType' annotations", qualify( holder.getPath(), name ) + ) ); } else { creator = candidate; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypeDeterminationException.java b/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypeDeterminationException.java index cea0a09e01..cfbc47fb31 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypeDeterminationException.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypeDeterminationException.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypePlacementException.java b/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypePlacementException.java index 19a1a693fa..92833a8e88 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypePlacementException.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/AccessTypePlacementException.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/AnnotationPlacementException.java b/hibernate-core/src/main/java/org/hibernate/boot/models/AnnotationPlacementException.java index 20f5c51881..b7ccac0a65 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/AnnotationPlacementException.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/AnnotationPlacementException.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/Copied.java b/hibernate-core/src/main/java/org/hibernate/boot/models/Copied.java index 40dfa183f6..1b0bc69b0a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/Copied.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/Copied.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/HibernateAnnotations.java b/hibernate-core/src/main/java/org/hibernate/boot/models/HibernateAnnotations.java index 500a472893..5ce89c6c38 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/HibernateAnnotations.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/HibernateAnnotations.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/JpaAnnotations.java b/hibernate-core/src/main/java/org/hibernate/boot/models/JpaAnnotations.java index c5abb4ab34..2d9e85de92 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/JpaAnnotations.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/JpaAnnotations.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/MemberResolutionException.java b/hibernate-core/src/main/java/org/hibernate/boot/models/MemberResolutionException.java index 8fc083158f..f5ec7eef49 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/MemberResolutionException.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/MemberResolutionException.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/MultipleAttributeNaturesException.java b/hibernate-core/src/main/java/org/hibernate/boot/models/MultipleAttributeNaturesException.java index 487f4a76ff..ef96a621cc 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/MultipleAttributeNaturesException.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/MultipleAttributeNaturesException.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/ModelBindingLogging.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/ModelBindingLogging.java index 5e6d5c7329..4472d50c16 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/ModelBindingLogging.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/ModelBindingLogging.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/AttributeBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/AttributeBinding.java index ec96b092be..2065537bad 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/AttributeBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/AttributeBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/Binding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/Binding.java index e557a40285..af11722322 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/Binding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/Binding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingContextImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingContextImpl.java index 98405c87eb..ede60cfb14 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingContextImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingContextImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingHelper.java index 6d977a367d..dd55129fd2 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingHelper.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingOptionsImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingOptionsImpl.java index 82debd1dee..638d0bf4e3 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingOptionsImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingOptionsImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingStateImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingStateImpl.java index d67d65d5f1..b24302fbe8 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingStateImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/BindingStateImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/EntityBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/EntityBinding.java index d2160a1de1..eecafc9b26 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/EntityBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/EntityBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifiableTypeBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifiableTypeBinding.java index 2c3632b618..2c64870cd0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifiableTypeBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifiableTypeBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifierBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifierBinding.java index cc0813e143..63314bd27a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifierBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/IdentifierBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/InLineView.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/InLineView.java index c56ba64d3c..046d9fffc7 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/InLineView.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/InLineView.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/ManagedTypeBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/ManagedTypeBinding.java index f0e2edfad9..aa54a57b2a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/ManagedTypeBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/ManagedTypeBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/MappedSuperclassBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/MappedSuperclassBinding.java index 0f77eb3c2a..b3b5070add 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/MappedSuperclassBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/MappedSuperclassBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; @@ -75,7 +75,7 @@ public class MappedSuperclassBinding extends IdentifiableTypeBinding { throw new UnsupportedOperationException( "Not yet implemented" ); } - Table getTable() { + Table getTable() { final var superEntityBinder = getSuperEntityBinding(); if ( superEntityBinder == null ) { return null; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalTable.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalTable.java index 1a4f96c4be..101bf176a3 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalTable.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalTable.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalView.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalView.java index 272be91cd1..992c7537e4 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalView.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/PhysicalView.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/RootEntityBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/RootEntityBinding.java index 04b3cab1d8..8376447215 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/RootEntityBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/RootEntityBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondPass.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondPass.java index e940cb3002..237b30f323 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondPass.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondPass.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondaryTable.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondaryTable.java index 1cece86543..0610af03ff 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondaryTable.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SecondaryTable.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SubclassEntityBinding.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SubclassEntityBinding.java index 1627654c76..4ffaf8f1a0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SubclassEntityBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/SubclassEntityBinding.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/TableHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/TableHelper.java index 018a75a008..c8bdf71eb1 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/TableHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/TableHelper.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/UnionTable.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/UnionTable.java index e12275fcf9..b2708b8b47 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/UnionTable.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/internal/UnionTable.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingContext.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingContext.java index 0e4dfcbde2..61c8f061dc 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingContext.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingContext.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingCoordinator.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingCoordinator.java index 58a2c08b7f..d4150d3cec 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingCoordinator.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingCoordinator.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingOptions.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingOptions.java index e623fb0852..a4ce7e04d1 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingOptions.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingOptions.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingState.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingState.java index 9ef2a0c8d8..8616e80579 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingState.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/BindingState.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PersistentTableReference.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PersistentTableReference.java index 4ceb8ded66..7e6c1c6268 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PersistentTableReference.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PersistentTableReference.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PhysicalTableReference.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PhysicalTableReference.java index 78d42cbd32..2022cec1dd 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PhysicalTableReference.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/PhysicalTableReference.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/QuotedIdentifierTarget.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/QuotedIdentifierTarget.java index 3b33264bc4..33994f26c5 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/QuotedIdentifierTarget.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/QuotedIdentifierTarget.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/SchemaAware.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/SchemaAware.java index 19ccdd9733..562a6d2929 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/SchemaAware.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/SchemaAware.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/TableReference.java b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/TableReference.java index 2bbc941497..cf73ea5f3b 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/TableReference.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/bind/spi/TableReference.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.bind.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/ModelCategorizationLogging.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/ModelCategorizationLogging.java index 099727d816..673ebb47a0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/ModelCategorizationLogging.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/ModelCategorizationLogging.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractIdentifiableTypeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractIdentifiableTypeMetadata.java index e82b90c8a6..c8d918e9c8 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractIdentifiableTypeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractIdentifiableTypeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractManagedTypeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractManagedTypeMetadata.java index 9c125a9bc5..92706ce80d 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractManagedTypeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractManagedTypeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractPersistentAttributeMemberResolver.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractPersistentAttributeMemberResolver.java index 28ea75ef60..daa3bfec97 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractPersistentAttributeMemberResolver.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AbstractPersistentAttributeMemberResolver.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AggregatedKeyMappingImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AggregatedKeyMappingImpl.java index 5168f59946..d84a6b22c3 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AggregatedKeyMappingImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AggregatedKeyMappingImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AttributeMetadataImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AttributeMetadataImpl.java index 1bbb5fea27..4f77f9e701 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AttributeMetadataImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/AttributeMetadataImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/BasicKeyMappingImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/BasicKeyMappingImpl.java index 3328fd7797..fa601e2833 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/BasicKeyMappingImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/BasicKeyMappingImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizationHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizationHelper.java index 17d8281ffa..8351481dea 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizationHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizationHelper.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizedDomainModelImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizedDomainModelImpl.java index 14527cdc13..e9c615e4ff 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizedDomainModelImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/CategorizedDomainModelImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ClassLoaderServiceLoading.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ClassLoaderServiceLoading.java index 2795669a7b..7667a34c62 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ClassLoaderServiceLoading.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ClassLoaderServiceLoading.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/DomainModelCategorizationCollector.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/DomainModelCategorizationCollector.java index 19858bd375..a41e6ee834 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/DomainModelCategorizationCollector.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/DomainModelCategorizationCollector.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyBuilder.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyBuilder.java index 4829fdcd17..98bce176dd 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyBuilder.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyBuilder.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyImpl.java index b8e10a7c2b..ae796f0259 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityHierarchyImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityTypeMetadataImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityTypeMetadataImpl.java index 48dfeebffe..4e47677431 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityTypeMetadataImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/EntityTypeMetadataImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/GlobalRegistrationsImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/GlobalRegistrationsImpl.java index 07b3e7f5d1..1cfdfb7bd2 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/GlobalRegistrationsImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/GlobalRegistrationsImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyMetadataCollector.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyMetadataCollector.java index c056ee4de8..e4ee49c3df 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyMetadataCollector.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyMetadataCollector.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyTypeConsumer.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyTypeConsumer.java index 757ee2732c..4a1f0568d9 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyTypeConsumer.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/HierarchyTypeConsumer.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/LifecycleCallbackCollector.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/LifecycleCallbackCollector.java index 88a230f75b..98e02c5ce4 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/LifecycleCallbackCollector.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/LifecycleCallbackCollector.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/MappedSuperclassTypeMetadataImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/MappedSuperclassTypeMetadataImpl.java index 5a63253e37..9277fbb179 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/MappedSuperclassTypeMetadataImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/MappedSuperclassTypeMetadataImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ModelCategorizationContextImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ModelCategorizationContextImpl.java index 1012807c3d..5d99364c3f 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ModelCategorizationContextImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/ModelCategorizationContextImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NamedQueryRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NamedQueryRegistration.java index 014398612d..02d4a73c86 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NamedQueryRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NamedQueryRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NonAggregatedKeyMappingImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NonAggregatedKeyMappingImpl.java index 8bc2298302..a3441c3849 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NonAggregatedKeyMappingImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/NonAggregatedKeyMappingImpl.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/OrmAnnotationHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/OrmAnnotationHelper.java index a43267cbe5..139bf7e70a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/OrmAnnotationHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/OrmAnnotationHelper.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/StandardPersistentAttributeMemberResolver.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/StandardPersistentAttributeMemberResolver.java index 9590cd0813..8dbd274270 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/StandardPersistentAttributeMemberResolver.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/internal/StandardPersistentAttributeMemberResolver.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.internal; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/package-info.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/package-info.java index 3956a11091..918b744d96 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/package-info.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/package-info.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ /** diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AggregatedKeyMapping.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AggregatedKeyMapping.java index 501e53a1be..d6e4aff28a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AggregatedKeyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AggregatedKeyMapping.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AllMemberConsumer.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AllMemberConsumer.java index 34c4e1b1fe..ab33a09938 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AllMemberConsumer.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AllMemberConsumer.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeConsumer.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeConsumer.java index f6b808f5fb..2cbc870c34 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeConsumer.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeConsumer.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeMetadata.java index bc3f5f5288..5526d7bc5e 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/AttributeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/BasicKeyMapping.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/BasicKeyMapping.java index 800bccd81f..221ff7f99d 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/BasicKeyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/BasicKeyMapping.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CacheRegion.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CacheRegion.java index 8284d58a9f..ef1823f626 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CacheRegion.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CacheRegion.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CategorizedDomainModel.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CategorizedDomainModel.java index 69b884cbee..73310f56fc 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CategorizedDomainModel.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CategorizedDomainModel.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CollectionTypeRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CollectionTypeRegistration.java index 400f75d4af..0d110df4df 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CollectionTypeRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CollectionTypeRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeKeyMapping.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeKeyMapping.java index 65015ca6c3..56ae15c7d9 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeKeyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeKeyMapping.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeUserTypeRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeUserTypeRegistration.java index 8001bf726c..85f947e134 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeUserTypeRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/CompositeUserTypeRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ConversionRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ConversionRegistration.java index 4dfd087d0e..195c208582 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ConversionRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ConversionRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EmbeddableInstantiatorRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EmbeddableInstantiatorRegistration.java index a2442628a1..73bf47e408 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EmbeddableInstantiatorRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EmbeddableInstantiatorRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityHierarchy.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityHierarchy.java index 767545c758..557a2c547b 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityHierarchy.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityHierarchy.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityTypeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityTypeMetadata.java index 43da928ab5..d64af0d923 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityTypeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/EntityTypeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/FilterDefRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/FilterDefRegistration.java index 5624124b62..ea493128f0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/FilterDefRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/FilterDefRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GenericGeneratorRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GenericGeneratorRegistration.java index f4e765dcdc..20351316d2 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GenericGeneratorRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GenericGeneratorRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GlobalRegistrations.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GlobalRegistrations.java index 7a1ff2ed36..513f6cb577 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GlobalRegistrations.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/GlobalRegistrations.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/IdentifiableTypeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/IdentifiableTypeMetadata.java index 117f08884a..fdc8a2b71a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/IdentifiableTypeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/IdentifiableTypeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JavaTypeRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JavaTypeRegistration.java index 8b78c82ff2..f612773564 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JavaTypeRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JavaTypeRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JdbcTypeRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JdbcTypeRegistration.java index 576f7d4f6f..2b5314d4c2 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JdbcTypeRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JdbcTypeRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListener.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListener.java index 645d4a07bb..bc8e942ad0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListener.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListener.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListenerStyle.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListenerStyle.java index 2e7eac03f6..2332060df2 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListenerStyle.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/JpaEventListenerStyle.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/KeyMapping.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/KeyMapping.java index 1f7671007f..226bee5b8d 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/KeyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/KeyMapping.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedResourcesProcessor.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedResourcesProcessor.java index 9feb162e12..e50a2ec9f5 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedResourcesProcessor.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedResourcesProcessor.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedTypeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedTypeMetadata.java index 61fc4ab6fe..8ce74c1402 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedTypeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ManagedTypeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/MappedSuperclassTypeMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/MappedSuperclassTypeMetadata.java index 881cf2309f..9c9bfa5e3a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/MappedSuperclassTypeMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/MappedSuperclassTypeMetadata.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ModelCategorizationContext.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ModelCategorizationContext.java index a4572d6996..ea8a0aedb9 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ModelCategorizationContext.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/ModelCategorizationContext.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NaturalIdCacheRegion.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NaturalIdCacheRegion.java index ce12273b65..5c35073b50 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NaturalIdCacheRegion.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NaturalIdCacheRegion.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NonAggregatedKeyMapping.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NonAggregatedKeyMapping.java index c504ae4da8..395dec6968 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NonAggregatedKeyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/NonAggregatedKeyMapping.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/PersistentAttributeMemberResolver.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/PersistentAttributeMemberResolver.java index 756f935484..a4b80ce749 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/PersistentAttributeMemberResolver.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/PersistentAttributeMemberResolver.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SequenceGeneratorRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SequenceGeneratorRegistration.java index 6f1e5bbc8a..592d87e706 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SequenceGeneratorRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SequenceGeneratorRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SingleAttributeKeyMapping.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SingleAttributeKeyMapping.java index 33402e8c6e..d1118d4120 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SingleAttributeKeyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/SingleAttributeKeyMapping.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableGeneratorRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableGeneratorRegistration.java index fc6f0ae099..36a0cc6a6a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableGeneratorRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableGeneratorRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableOwner.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableOwner.java index 13379556da..35e5fc512e 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableOwner.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/TableOwner.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/UserTypeRegistration.java b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/UserTypeRegistration.java index 00c1cb4360..06cb47aa2e 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/UserTypeRegistration.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/categorize/spi/UserTypeRegistration.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.boot.models.categorize.spi; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/internal/AnnotationUsageHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/internal/AnnotationUsageHelper.java index ddd2c3d76e..973c943313 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/internal/AnnotationUsageHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/internal/AnnotationUsageHelper.java @@ -1,3 +1,9 @@ +/* + * Hibernate, Relational Persistence for Idiomatic Java + * + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. + */ package org.hibernate.boot.models.internal; import java.lang.annotation.Annotation; diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/package-info.java b/hibernate-core/src/main/java/org/hibernate/boot/models/package-info.java index 2de6f3b457..d7d082406a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/package-info.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/package-info.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ /** diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlAnnotationHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlAnnotationHelper.java index 36f933713b..bc3426e189 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlAnnotationHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlAnnotationHelper.java @@ -1746,10 +1746,8 @@ public class XmlAnnotationHelper { if ( StringHelper.isNotEmpty( collectionTable.getSchema() ) ) { return collectionTable.getSchema(); } - else if ( StringHelper.isNotEmpty( xmlDocumentContext.getXmlDocument() - .getDefaults() - .getSchema() ) ) { - return xmlDocumentContext.getXmlDocument().getDefaults().getSchema(); + else if ( StringHelper.isNotEmpty( defaultSchema( xmlDocumentContext ) ) ) { + return defaultSchema( xmlDocumentContext ); } return null; }, @@ -1759,6 +1757,12 @@ public class XmlAnnotationHelper { ); } + private static String defaultSchema(XmlDocumentContext xmlDocumentContext) { + return xmlDocumentContext.getXmlDocument() + .getDefaults() + .getSchema(); + } + public static void applyOrCatalog( JaxbSchemaAware jaxbNode, MutableAnnotationUsage annotationUsage, @@ -1770,10 +1774,8 @@ public class XmlAnnotationHelper { if ( StringHelper.isNotEmpty( collectionTable.getCatalog() ) ) { return collectionTable.getCatalog(); } - else if ( StringHelper.isNotEmpty( xmlDocumentContext.getXmlDocument() - .getDefaults() - .getCatalog() ) ) { - return xmlDocumentContext.getXmlDocument().getDefaults().getCatalog(); + else if ( StringHelper.isNotEmpty( defaultCatalog( xmlDocumentContext ) ) ) { + return defaultCatalog( xmlDocumentContext ); } return null; }, @@ -1782,4 +1784,10 @@ public class XmlAnnotationHelper { annotationDescriptor ); } + + private static String defaultCatalog(XmlDocumentContext xmlDocumentContext) { + return xmlDocumentContext.getXmlDocument() + .getDefaults() + .getCatalog(); + } } diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/KeyedConsumer.java b/hibernate-core/src/main/java/org/hibernate/internal/util/KeyedConsumer.java index b04ff8b7de..5d1b3ec2ad 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/util/KeyedConsumer.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/util/KeyedConsumer.java @@ -1,8 +1,8 @@ /* * Hibernate, Relational Persistence for Idiomatic Java * - * SPDX-License-Identifier: Apache-2.0 - * Copyright: Red Hat Inc. and Hibernate Authors + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. */ package org.hibernate.internal.util;