From 4bc4ffe056329134467bd75af9ada53ae7115d71 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Fri, 1 Mar 2024 22:09:04 +0100 Subject: [PATCH] HHH-17778 rename jpametamodelgen -> processor --- gradle/java-module.gradle | 4 +- hibernate-core/hibernate-core.gradle | 2 +- .../annotations/processing/package-info.java | 2 +- .../hibernate-jpamodelgen.gradle | 2 +- .../data => processor/test}/data/Author.java | 2 +- .../data => processor/test}/data/Book.java | 2 +- .../test}/data/BookAuthorRepository.java | 2 +- .../test}/data/DataTest.java | 10 +-- .../ClassWriter.java | 6 +- .../ContainsAttributeTypeVisitor.java | 10 +-- .../{jpamodelgen => processor}/Context.java | 8 +-- .../HibernateProcessor.java | 40 +++++------ .../ImportContextImpl.java | 4 +- .../MetaModelGenerationException.java | 2 +- .../ProcessLaterException.java | 2 +- .../{jpamodelgen => processor}/Version.java | 4 +- .../annotation/AbstractFinderMethod.java | 8 +-- .../annotation/AbstractQueryMethod.java | 10 +-- .../annotation/AnnotationMeta.java | 22 +++---- .../annotation/AnnotationMetaAttribute.java | 10 +-- .../annotation/AnnotationMetaCollection.java | 4 +- .../annotation/AnnotationMetaEntity.java | 54 +++++++-------- .../annotation/AnnotationMetaMap.java | 2 +- .../annotation/AnnotationMetaPackage.java | 10 +-- .../AnnotationMetaSingleAttribute.java | 6 +- .../annotation/AnnotationMetaType.java | 10 +-- .../annotation/CriteriaFinderMethod.java | 8 +-- .../DataAnnotationMetaAttribute.java | 8 +-- .../DataMetaAttributeGenerationVisitor.java | 16 ++--- .../annotation/DefaultConstructor.java | 12 ++-- .../annotation/ErrorHandler.java | 6 +- .../annotation/IdFinderMethod.java | 4 +- .../annotation/LifecycleMethod.java | 6 +- .../MetaAttributeGenerationVisitor.java | 46 ++++++------- .../annotation/NameMetaAttribute.java | 8 +-- .../annotation/NamedQueryMethod.java | 12 ++-- .../annotation/NaturalIdFinderMethod.java | 2 +- .../annotation/OrderBy.java | 2 +- .../annotation/QueryMethod.java | 8 +-- .../annotation/RepositoryConstructor.java | 8 +-- .../annotation/package-info.java | 2 +- .../model/ImportContext.java | 2 +- .../model/MetaAttribute.java | 2 +- .../model/MetaCollection.java | 2 +- .../model/MetaSingleAttribute.java | 2 +- .../model/Metamodel.java | 4 +- .../model/package-info.java | 2 +- .../package-info.java | 4 +- .../util/AccessType.java | 2 +- .../util/AccessTypeInformation.java | 2 +- .../util/BasicAttributeVisitor.java | 14 ++-- .../util/Constants.java | 2 +- .../util/FileTimeStampChecker.java | 2 +- .../util/NullnessUtil.java | 2 +- .../util/StringUtil.java | 2 +- .../util/TypeRenderingVisitor.java | 4 +- .../util/TypeUtils.java | 42 ++++++------ .../util/package-info.java | 2 +- ...ontextProvidingValidationEventHandler.java | 2 +- .../JpaNamespaceTransformingEventReader.java | 2 +- .../util/xml/XmlParserHelper.java | 8 +-- .../util/xml/XmlParsingException.java | 2 +- .../util/xml/package-info.java | 2 +- .../validation/MockCollectionPersister.java | 4 +- .../validation/MockEntityPersister.java | 4 +- .../validation/MockJdbcServicesInitiator.java | 2 +- .../validation/MockSessionFactory.java | 2 +- .../validation/Mocker.java | 2 +- .../validation/ProcessorSessionFactory.java | 4 +- .../validation/Validation.java | 6 +- .../validation/package-info.java | 4 +- .../xml/JpaDescriptorParser.java | 54 +++++++-------- .../xml/XmlMetaAttribute.java | 8 +-- .../xml/XmlMetaCollection.java | 4 +- .../xml/XmlMetaEntity.java | 66 +++++++++---------- .../xml/XmlMetaMap.java | 4 +- .../xml/XmlMetaSingleAttribute.java | 6 +- .../xml/package-info.java | 2 +- .../gradle/incremental.annotation.processors | 2 +- .../javax.annotation.processing.Processor | 2 +- .../hrPanache/BookRepositoryWithSession.java | 2 +- .../test/hrPanache/PanacheBook.java | 2 +- .../test/hrPanache/PanacheBookRepository.java | 2 +- .../test/hrPanache/QuarkusBookRepository.java | 2 +- .../test/hrPanache/QuarkusHrPanacheTest.java | 12 ++-- .../test/ormPanache/PanacheBook.java | 2 +- .../ormPanache/PanacheBookRepository.java | 2 +- .../ormPanache/QuarkusBookRepository.java | 2 +- .../ormPanache/QuarkusOrmPanacheTest.java | 10 +-- .../src/test/java/DefaultPackageTest.java | 8 +-- .../jpamodelgen/test/namedquery/Type.java | 3 - .../test/StringUtilTest.java | 6 +- .../test/accesstype/AccessTypeTest.java | 18 ++--- .../test/accesstype/Address.java | 2 +- .../test/accesstype/Area.java | 2 +- .../test/accesstype/Building.java | 2 +- .../test/accesstype/Country.java | 2 +- .../test/accesstype/Customer.java | 2 +- .../test/accesstype/Detail.java | 2 +- .../test/accesstype/Hominidae.java | 2 +- .../test/accesstype/Hotel.java | 2 +- .../test/accesstype/HotelRoom.java | 2 +- .../test/accesstype/House.java | 2 +- .../test/accesstype/Human.java | 2 +- .../test/accesstype/Inhabitant.java | 2 +- .../test/accesstype/Item.java | 2 +- .../test/accesstype/LivingBeing.java | 2 +- .../test/accesstype/Mammals.java | 2 +- .../test/accesstype/Order.java | 2 +- .../test/accesstype/Pet.java | 2 +- .../test/accesstype/Product.java | 2 +- .../test/accesstype/Room.java | 2 +- .../test/accesstype/Shop.java | 2 +- .../test/accesstype/User.java | 2 +- .../annotationtype/AnnotationTypeTest.java | 12 ++-- .../test/annotationtype/Entity.java | 2 +- .../test/arraytype/ArrayTest.java | 10 +-- .../arraytype/ArrayTestWithTypeUseTest.java | 12 ++-- .../test/arraytype/Image.java | 2 +- .../test/arraytype/TemperatureSamples.java | 2 +- .../test/arraytype/TestEntity.java | 2 +- .../test/blob/BlobEntity.java | 2 +- .../test/blob/BlobTest.java | 12 ++-- .../CircularTypeVariableTest.java | 10 +-- .../test/circulartypevariable/RoleAccess.java | 2 +- .../test/circulartypevariable/User.java | 2 +- .../CollectionAsBasicTypeTest.java | 14 ++-- .../CommaDelimitedStringMapJavaType.java | 2 +- .../CommaDelimitedStringsJavaType.java | 2 +- .../CommaDelimitedStringsMapType.java | 2 +- .../CommaDelimitedStringsType.java | 2 +- .../collectionbasictype/ConcreteLike.java | 2 +- .../ElementCollectionWithConverterTest.java | 16 ++--- .../test/collectionbasictype/EnumHolder.java | 2 +- .../test/collectionbasictype/Goods.java | 2 +- .../test/collectionbasictype/Item.java | 2 +- .../ItemRoleConverter.java | 2 +- .../test/collectionbasictype/Like.java | 2 +- .../test/collectionbasictype/Person.java | 2 +- .../test/collectionbasictype/PersonPhone.java | 4 +- .../test/collectionbasictype/PhoneBook.java | 2 +- .../test/collectionbasictype/Product.java | 2 +- .../test/collectionbasictype/Role.java | 2 +- .../collectionbasictype/RoleExternal.java | 2 +- .../collectionbasictype/RoleInternal.java | 2 +- .../StringToListConverter.java | 2 +- .../StringToUppercaseConverter.java | 2 +- .../collectionbasictype/extras/Phone.java | 2 +- ...ingEntityWithInstanceGetEntityManager.java | 2 +- ...ndingEntityWithStaticGetEntityManager.java | 2 +- ...NonEntityWithInstanceGetEntityManager.java | 2 +- ...ngNonEntityWithStaticGetEntityManager.java | 2 +- ...uperClassWithInstanceGetEntityManager.java | 2 +- ...rSuperClassWithStaticGetEntityManager.java | 2 +- ...NonEntityWithInstanceGetEntityManager.java | 2 +- ...ngNonEntityWithStaticGetEntityManager.java | 2 +- .../EntityWithInstanceGetEntityManager.java | 2 +- .../EntityWithStaticGetEntityManager.java | 2 +- ...NonEntityWithInstanceGetEntityManager.java | 2 +- ...ngNonEntityWithStaticGetEntityManager.java | 2 +- ...uperClassWithInstanceGetEntityManager.java | 2 +- ...rSuperClassWithStaticGetEntityManager.java | 2 +- ...NonEntityWithInstanceGetEntityManager.java | 2 +- .../NonEntityWithStaticGetEntityManager.java | 2 +- .../SuperClassWithGetEntityManagerTest.java | 14 ++-- .../test/dao/Bean.java | 2 +- .../test/dao/Book.java | 2 +- .../test/dao/Dao.java | 2 +- .../test/dao/DaoTest.java | 10 +-- .../test/dao/StatefulDao.java | 2 +- .../test/dao/StatelessDao.java | 2 +- .../test/elementcollection/Cleaner.java | 2 +- .../ElementCollectionTest.java | 18 ++--- .../ElementCollectionTypeUseTest.java | 12 ++-- .../test/elementcollection/Homework.java | 2 +- .../test/elementcollection/Hostel.java | 2 +- .../test/elementcollection/Hotel.java | 2 +- .../test/elementcollection/House.java | 2 +- .../elementcollection/OfficeBuilding.java | 2 +- .../OfficeBuildingValidated.java | 2 +- .../test/elementcollection/Room.java | 2 +- .../test/embeddable/Base.java | 2 +- .../embeddable/EmbeddableAccessTypeTest.java | 8 +-- .../test/embeddable/EmbeddableEntity.java | 2 +- .../embeddable/EmbeddableTypeUseTest.java | 14 ++-- .../test/embeddable/IStuff.java | 2 +- .../test/embeddable/MyEntity.java | 2 +- .../test/embeddable/SimpleEmbeddable.java | 2 +- .../test/embeddable/SimpleEntity.java | 2 +- .../test/embeddable/Stuff.java | 2 +- .../embeddable/generics/ChildEmbeddable.java | 2 +- .../generics/EmbeddableGenericsTest.java | 10 +-- .../test/embeddable/generics/MyTypeImpl.java | 2 +- .../embeddable/generics/MyTypeInterface.java | 2 +- .../embeddable/generics/ParentEmbeddable.java | 2 +- .../withinheritance/AbstractRef.java | 2 +- .../EmbeddedIdWithInheritanceTest.java | 12 ++-- .../test/embeddedid/withinheritance/Ref.java | 2 +- .../withinheritance/TestEntity.java | 2 +- .../EmbeddedIdNoInheritanceTest.java | 12 ++-- .../embeddedid/withoutinheritance/Person.java | 2 +- .../withoutinheritance/PersonId.java | 2 +- .../withoutinheritance/XmlPerson.java | 2 +- .../test/fromcore/Address.java | 2 +- .../test/fromcore/Alias.java | 2 +- .../test/fromcore/Article.java | 2 +- .../test/fromcore/BaseEmbeddedEntity.java | 2 +- .../test/fromcore/CoreTest.java | 8 +-- .../test/fromcore/Country.java | 2 +- .../test/fromcore/CreditCard.java | 2 +- .../test/fromcore/Customer.java | 2 +- .../test/fromcore/Entity1.java | 2 +- .../test/fromcore/Entity2.java | 2 +- .../test/fromcore/Entity3.java | 2 +- .../test/fromcore/Info.java | 2 +- .../test/fromcore/LineItem.java | 2 +- .../test/fromcore/MapEntity.java | 2 +- .../test/fromcore/MapEntityLocal.java | 2 +- .../test/fromcore/Order.java | 2 +- .../test/fromcore/Person.java | 2 +- .../test/fromcore/PersonId.java | 2 +- .../test/fromcore/Phone.java | 2 +- .../test/fromcore/Product.java | 2 +- .../test/fromcore/ShelfLife.java | 2 +- .../test/fromcore/SomeMappedSuperclass.java | 2 +- .../SomeMappedSuperclassSubclass.java | 2 +- .../test/fromcore/Spouse.java | 2 +- .../test/fromcore/Thing.java | 2 +- .../test/fromcore/ThingWithQuantity.java | 2 +- .../test/fromcore/Translation.java | 2 +- .../test/fromcore/VersionedEntity.java | 2 +- .../GeneratedAnnotationTest.java | 14 ++-- .../GenerationDateTest.java | 20 +++--- .../SkipGeneratedAnnotationTest.java | 16 ++--- .../test/generatedannotation/TestEntity.java | 2 +- .../test/generics/Child.java | 2 +- .../test/generics/GenericsTest.java | 8 +-- .../test/generics/Parent.java | 2 +- .../test/generictype/Generic.java | 2 +- .../test/generictype/GenericEntityTest.java | 10 +-- .../test/hashcode/HashCodeTest.java | 14 ++-- .../test/hashcode/HashEntity.java | 2 +- .../test/hhh17613/ChildB.java | 2 +- .../test/hhh17613/HHH17613Test.java | 12 ++-- .../test/hhh17613/Parent.java | 2 +- .../test/hhh17613/a/ChildA.java | 6 +- .../test/hhh17661/Entity.java | 2 +- .../test/hhh17661/HHH17661Test.java | 10 +-- .../test/hhh17661/Tree.java | 2 +- .../test/hhh17661/TreeRelation.java | 2 +- .../test/hqlsql/Address.java | 2 +- .../test/hqlsql/Book.java | 2 +- .../test/hqlsql/Books.java | 2 +- .../test/hqlsql/Dao.java | 4 +- .../test/hqlsql/Dto.java | 2 +- .../test/hqlsql/Publisher.java | 2 +- .../test/hqlsql/QueryMethodTest.java | 10 +-- .../test/hqlvalidation/Book.java | 2 +- .../test/hqlvalidation/Dao1.java | 2 +- .../test/hqlvalidation/Dao2.java | 2 +- .../test/hqlvalidation/ValidationTest.java | 12 ++-- .../inheritance/basic/AbstractEntity.java | 2 +- .../test/inheritance/basic/Area.java | 2 +- .../test/inheritance/basic/Building.java | 2 +- .../test/inheritance/basic/Customer.java | 2 +- .../test/inheritance/basic/House.java | 2 +- .../inheritance/basic/InheritanceTest.java | 12 ++-- .../test/inheritance/basic/Person.java | 2 +- .../test/inheritance/basic/User.java | 2 +- .../inheritance/deep/DeepInheritanceTest.java | 14 ++-- .../test/inheritance/deep/JetPlane.java | 2 +- .../inheritance/deep/PersistenceBase.java | 2 +- .../test/inheritance/deep/Plane.java | 2 +- .../unmappedclassinhierarchy/BaseEntity.java | 2 +- .../unmappedclassinhierarchy/MappedBase.java | 2 +- .../NormalExtendsEntity.java | 2 +- .../NormalExtendsMapped.java | 2 +- .../unmappedclassinhierarchy/SubA.java | 2 +- .../unmappedclassinhierarchy/SubB.java | 2 +- .../UnmappedClassInHierarchyTest.java | 8 +-- .../test/keypage/Book.java | 4 +- .../test/keypage/Dao.java | 4 +- .../EmbeddableAndMappedSuperClass.java | 2 +- .../EmbeddableMappedSuperClassTest.java | 10 +-- .../ConcreteProduct.java | 2 +- ...MappedSuperclassWithoutExplicitIdTest.java | 10 +-- .../mappedsuperclasswithoutid/Product.java | 4 +- .../mappedsuperclasswithoutid/Shop.java | 2 +- .../AttachmentGroup.java | 2 +- .../AttachmentGroupInTopic.java | 2 +- .../AttachmentGroupPost.java | 2 +- .../AttachmentGroupPostInTopic.java | 2 +- .../typedmappedsuperclass/Post.java | 2 +- .../TypesMappedSuperclassTest.java | 10 +-- .../typedmappedsuperclass/UserRole.java | 2 +- .../test/mixedmode/Car.java | 2 +- .../test/mixedmode/Coordinates.java | 2 +- .../test/mixedmode/Insurance.java | 2 +- .../test/mixedmode/Location.java | 2 +- .../mixedmode/MixedConfigurationTest.java | 16 ++--- .../test/mixedmode/Person.java | 2 +- .../test/mixedmode/RentalCar.java | 2 +- .../test/mixedmode/RentalCompany.java | 2 +- .../test/mixedmode/Truck.java | 2 +- .../test/mixedmode/Vehicle.java | 2 +- .../test/mixedmode/XmlMetaCompleteTest.java | 12 ++-- .../test/mixedmode/ZeroCoordinates.java | 2 +- .../test/namedquery/AuxiliaryTest.java | 14 ++-- .../test/namedquery/Book.java | 2 +- .../test/namedquery/Main.java | 2 +- .../processor/test/namedquery/Type.java | 3 + .../test/noentity/Dao.java | 2 +- .../test/noentity/NoEntityTest.java | 10 +-- .../persistence21/Jpa21DescriptorTest.java | 16 ++--- .../test/persistence21/Snafu.java | 2 +- .../test/rawtypes/DeskWithRawType.java | 2 +- .../test/rawtypes/EmployeeWithRawType.java | 2 +- .../test/rawtypes/RawTypesTest.java | 8 +-- .../test/records/Address.java | 2 +- .../test/records/Author.java | 2 +- .../test/records/Java14RecordsTest.java | 12 ++-- .../test/separatecompilationunits/Entity.java | 4 +- .../SeparateCompilationUnitsTest.java | 16 ++--- .../superclass/MappedSuperclass.java | 2 +- .../test/sortedcollection/PrintJob.java | 2 +- .../test/sortedcollection/Printer.java | 2 +- .../SortedCollectionTest.java | 12 ++-- ...ppressWarningsAnnotationGeneratedTest.java | 16 ++--- ...essWarningsAnnotationNotGeneratedTest.java | 12 ++-- .../test/supresswarnings/TestEntity.java | 2 +- .../test/targetannotation/Address.java | 2 +- .../test/targetannotation/AddressImpl.java | 2 +- .../test/targetannotation/House.java | 2 +- .../TargetAnnotationTest.java | 14 ++-- .../test/usertype/ContactDetails.java | 2 +- .../test/usertype/PhoneNumber.java | 2 +- .../test/usertype/UserTypeTest.java | 12 ++-- .../test/util/CompilationRunner.java | 2 +- .../test/util/CompilationStatement.java | 4 +- .../test/util/CompilationTest.java | 2 +- .../test/util/IgnoreCompilationErrors.java | 2 +- .../test/util/TestForIssue.java | 2 +- .../test/util/TestUtil.java | 2 +- .../test/util/WithClasses.java | 2 +- .../test/util/WithMappingFiles.java | 2 +- .../test/util/WithProcessorOption.java | 2 +- .../test/wildcard/Property.java | 2 +- .../test/wildcard/PropertyRepo.java | 2 +- .../test/wildcard/WildcardTest.java | 10 +-- .../test/xmlembeddable/BusinessEntity.java | 4 +- .../EmbeddableConfiguredInXmlTest.java | 16 ++--- .../test/xmlembeddable/Foo.java | 2 +- .../test/xmlembeddable/foo/BusinessId.java | 2 +- .../test/xmlmapped/Address.java | 2 +- .../test/xmlmapped/Boy.java | 2 +- .../test/xmlmapped/Building.java | 6 +- .../test/xmlmapped/FakeHero.java | 2 +- .../test/xmlmapped/IgnoreInvalidXmlTest.java | 10 +-- .../test/xmlmapped/LivingBeing.java | 2 +- .../test/xmlmapped/Mammal.java | 2 +- .../test/xmlmapped/Superhero.java | 2 +- .../test/xmlmapped/XmlMappingTest.java | 24 +++---- .../xmlmetacomplete/multiplepus/Dummy.java | 2 +- ...aCompleteMultiplePersistenceUnitsTest.java | 16 ++--- .../test/xmlmetacomplete/singlepu/Dummy.java | 2 +- ...DataCompleteSinglePersistenceUnitTest.java | 16 ++--- .../test/xmlonly/Car.java | 2 +- .../test/xmlonly/Course.java | 2 +- .../test/xmlonly/Option.java | 2 +- .../test/xmlonly/Period.java | 2 +- .../test/xmlonly/Teacher.java | 2 +- .../test/xmlonly/Tire.java | 2 +- .../test/xmlonly/XmlOnly.java | 2 +- .../test/xmlonly/XmlOnlyTest.java | 16 ++--- .../src/test/resources/log4j2.properties | 2 +- .../test/accesstype/orm.xml | 4 +- .../test/annotationtype/orm.xml | 2 +- .../test/elementcollection/hostel.xml | 8 +-- .../test/embeddedid/withinheritance/orm.xml | 4 +- .../embeddedid/withoutinheritance/orm.xml | 6 +- .../test/mixedmode/car.xml | 2 +- .../test/mixedmode/coordinates.xml | 4 +- .../test/mixedmode/orm.xml | 2 +- .../test/mixedmode/rentalcar.xml | 2 +- .../test/mixedmode/truck.xml | 2 +- .../test/persistence21/persistence.xml | 2 +- .../test/persistence21/snafu.xml | 2 +- .../test/xmlembeddable/orm.xml | 4 +- .../test/xmlmapped/address.xml | 2 +- .../test/xmlmapped/boy.xml | 8 +-- .../test/xmlmapped/building.xml | 2 +- .../test/xmlmapped/jpa1-orm.xml | 2 +- .../test/xmlmapped/malformed-mapping.xml | 2 +- .../test/xmlmapped/mammal.xml | 2 +- .../test/xmlmapped/non-existend-class.xml | 2 +- .../test/xmlmapped/persistence.xml | 8 +-- .../test/xmlmetacomplete/multiplepus/bar.xml | 0 .../test/xmlmetacomplete/multiplepus/foo.xml | 0 .../multiplepus/persistence.xml | 4 +- .../test/xmlmetacomplete/singlepu/foo.xml | 0 .../xmlmetacomplete/singlepu/persistence.xml | 2 +- .../test/xmlonly/persistence.xml | 2 +- .../test/xmlonly/xmlonly.xml | 2 +- 403 files changed, 988 insertions(+), 990 deletions(-) rename tooling/metamodel-generator/src/jakartaData/java/org/hibernate/{jpamodelgen/test/data => processor/test}/data/Author.java (84%) rename tooling/metamodel-generator/src/jakartaData/java/org/hibernate/{jpamodelgen/test/data => processor/test}/data/Book.java (92%) rename tooling/metamodel-generator/src/jakartaData/java/org/hibernate/{jpamodelgen/test/data => processor/test}/data/BookAuthorRepository.java (98%) rename tooling/metamodel-generator/src/jakartaData/java/org/hibernate/{jpamodelgen/test/data => processor/test}/data/DataTest.java (75%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/ClassWriter.java (97%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/ContainsAttributeTypeVisitor.java (85%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/Context.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/HibernateProcessor.java (93%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/ImportContextImpl.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/MetaModelGenerationException.java (94%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/ProcessLaterException.java (89%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/Version.java (89%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AbstractFinderMethod.java (94%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AbstractQueryMethod.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMeta.java (92%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaAttribute.java (88%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaCollection.java (88%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaEntity.java (97%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaMap.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaPackage.java (93%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaSingleAttribute.java (82%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/AnnotationMetaType.java (88%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/CriteriaFinderMethod.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/DataAnnotationMetaAttribute.java (92%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/DataMetaAttributeGenerationVisitor.java (86%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/DefaultConstructor.java (90%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/ErrorHandler.java (94%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/IdFinderMethod.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/LifecycleMethod.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/MetaAttributeGenerationVisitor.java (80%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/NameMetaAttribute.java (88%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/NamedQueryMethod.java (94%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/NaturalIdFinderMethod.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/OrderBy.java (91%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/QueryMethod.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/RepositoryConstructor.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/annotation/package-info.java (86%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/model/ImportContext.java (95%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/model/MetaAttribute.java (93%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/model/MetaCollection.java (89%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/model/MetaSingleAttribute.java (89%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/model/Metamodel.java (91%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/model/package-info.java (85%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/package-info.java (70%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/AccessType.java (88%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/AccessTypeInformation.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/BasicAttributeVisitor.java (84%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/Constants.java (99%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/FileTimeStampChecker.java (97%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/NullnessUtil.java (99%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/StringUtil.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/TypeRenderingVisitor.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/TypeUtils.java (95%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/package-info.java (89%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/xml/ContextProvidingValidationEventHandler.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/xml/JpaNamespaceTransformingEventReader.java (99%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/xml/XmlParserHelper.java (96%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/xml/XmlParsingException.java (91%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/util/xml/package-info.java (87%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/MockCollectionPersister.java (97%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/MockEntityPersister.java (97%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/MockJdbcServicesInitiator.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/MockSessionFactory.java (99%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/Mocker.java (98%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/ProcessorSessionFactory.java (99%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/Validation.java (95%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/validation/package-info.java (71%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/JpaDescriptorParser.java (88%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/XmlMetaAttribute.java (91%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/XmlMetaCollection.java (87%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/XmlMetaEntity.java (91%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/XmlMetaMap.java (92%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/XmlMetaSingleAttribute.java (79%) rename tooling/metamodel-generator/src/main/java/org/hibernate/{jpamodelgen => processor}/xml/package-info.java (88%) rename tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/{jpamodelgen => processor}/test/hrPanache/BookRepositoryWithSession.java (89%) rename tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/{jpamodelgen => processor}/test/hrPanache/PanacheBook.java (93%) rename tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/{jpamodelgen => processor}/test/hrPanache/PanacheBookRepository.java (91%) rename tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/{jpamodelgen => processor}/test/hrPanache/QuarkusBookRepository.java (91%) rename tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/{jpamodelgen => processor}/test/hrPanache/QuarkusHrPanacheTest.java (94%) rename tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/{jpamodelgen => processor}/test/ormPanache/PanacheBook.java (92%) rename tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/{jpamodelgen => processor}/test/ormPanache/PanacheBookRepository.java (90%) rename tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/{jpamodelgen => processor}/test/ormPanache/QuarkusBookRepository.java (85%) rename tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/{jpamodelgen => processor}/test/ormPanache/QuarkusOrmPanacheTest.java (93%) delete mode 100644 tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Type.java rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/StringUtilTest.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/AccessTypeTest.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Address.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Area.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Building.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Country.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Customer.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Detail.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Hominidae.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Hotel.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/HotelRoom.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/House.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Human.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Inhabitant.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Item.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/LivingBeing.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Mammals.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Order.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Pet.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Product.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Room.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/Shop.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/accesstype/User.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/annotationtype/AnnotationTypeTest.java (63%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/annotationtype/Entity.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/arraytype/ArrayTest.java (71%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/arraytype/ArrayTestWithTypeUseTest.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/arraytype/Image.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/arraytype/TemperatureSamples.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/arraytype/TestEntity.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/blob/BlobEntity.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/blob/BlobTest.java (60%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/circulartypevariable/CircularTypeVariableTest.java (69%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/circulartypevariable/RoleAccess.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/circulartypevariable/User.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/CollectionAsBasicTypeTest.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/CommaDelimitedStringMapJavaType.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/CommaDelimitedStringsJavaType.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/CommaDelimitedStringsMapType.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/CommaDelimitedStringsType.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/ConcreteLike.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/ElementCollectionWithConverterTest.java (69%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/EnumHolder.java (69%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/Goods.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/Item.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/ItemRoleConverter.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/Like.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/Person.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/PersonPhone.java (77%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/PhoneBook.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/Product.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/Role.java (84%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/RoleExternal.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/RoleInternal.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/StringToListConverter.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/StringToUppercaseConverter.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/collectionbasictype/extras/Phone.java (81%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityWithInstanceGetEntityManager.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/EntityWithStaticGetEntityManager.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/MapperSuperClassWithStaticGetEntityManager.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/NonEntityWithInstanceGetEntityManager.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/NonEntityWithStaticGetEntityManager.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/constructor/SuperClassWithGetEntityManagerTest.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/dao/Bean.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/dao/Book.java (85%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/dao/Dao.java (98%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/dao/DaoTest.java (75%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/dao/StatefulDao.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/dao/StatelessDao.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/Cleaner.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/ElementCollectionTest.java (77%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/ElementCollectionTypeUseTest.java (79%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/Homework.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/Hostel.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/Hotel.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/House.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/OfficeBuilding.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/OfficeBuildingValidated.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/elementcollection/Room.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/Base.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/EmbeddableAccessTypeTest.java (72%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/EmbeddableEntity.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/EmbeddableTypeUseTest.java (62%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/IStuff.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/MyEntity.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/SimpleEmbeddable.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/SimpleEntity.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/Stuff.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/generics/ChildEmbeddable.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/generics/EmbeddableGenericsTest.java (78%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/generics/MyTypeImpl.java (84%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/generics/MyTypeInterface.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddable/generics/ParentEmbeddable.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withinheritance/AbstractRef.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java (61%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withinheritance/Ref.java (84%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withinheritance/TestEntity.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java (70%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withoutinheritance/Person.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withoutinheritance/PersonId.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withoutinheritance/XmlPerson.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Address.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Alias.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Article.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/BaseEmbeddedEntity.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/CoreTest.java (80%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Country.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/CreditCard.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Customer.java (98%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Entity1.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Entity2.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Entity3.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Info.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/LineItem.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/MapEntity.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/MapEntityLocal.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Order.java (98%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Person.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/PersonId.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Phone.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Product.java (98%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/ShelfLife.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/SomeMappedSuperclass.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/SomeMappedSuperclassSubclass.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Spouse.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Thing.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/ThingWithQuantity.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/Translation.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/fromcore/VersionedEntity.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generatedannotation/GeneratedAnnotationTest.java (63%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generatedannotation/GenerationDateTest.java (57%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generatedannotation/SkipGeneratedAnnotationTest.java (64%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generatedannotation/TestEntity.java (87%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generics/Child.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generics/GenericsTest.java (67%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generics/Parent.java (97%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generictype/Generic.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/generictype/GenericEntityTest.java (62%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hashcode/HashCodeTest.java (59%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hashcode/HashEntity.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17613/ChildB.java (70%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17613/HHH17613Test.java (59%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17613/Parent.java (75%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17613/a/ChildA.java (64%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17661/Entity.java (81%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17661/HHH17661Test.java (63%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17661/Tree.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hhh17661/TreeRelation.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/Address.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/Book.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/Books.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/Dao.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/Dto.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/Publisher.java (76%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlsql/QueryMethodTest.java (71%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlvalidation/Book.java (74%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlvalidation/Dao1.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlvalidation/Dao2.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/hqlvalidation/ValidationTest.java (70%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/AbstractEntity.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/Area.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/Building.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/Customer.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/House.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/InheritanceTest.java (75%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/Person.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/basic/User.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/deep/DeepInheritanceTest.java (64%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/deep/JetPlane.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/deep/PersistenceBase.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/deep/Plane.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/BaseEntity.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/MappedBase.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/SubA.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/SubB.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java (72%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/keypage/Book.java (81%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/keypage/Dao.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java (62%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java (66%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java (75%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java (85%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java (84%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/Post.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java (66%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mappedsuperclass/typedmappedsuperclass/UserRole.java (79%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Car.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Coordinates.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Insurance.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Location.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/MixedConfigurationTest.java (82%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Person.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/RentalCar.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/RentalCompany.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Truck.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/Vehicle.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/XmlMetaCompleteTest.java (59%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/mixedmode/ZeroCoordinates.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/namedquery/AuxiliaryTest.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/namedquery/Book.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/namedquery/Main.java (95%) create mode 100644 tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Type.java rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/noentity/Dao.java (79%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/noentity/NoEntityTest.java (64%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/persistence21/Jpa21DescriptorTest.java (56%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/persistence21/Snafu.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/rawtypes/DeskWithRawType.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/rawtypes/EmployeeWithRawType.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/rawtypes/RawTypesTest.java (69%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/records/Address.java (72%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/records/Author.java (95%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/records/Java14RecordsTest.java (83%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/separatecompilationunits/Entity.java (70%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/separatecompilationunits/SeparateCompilationUnitsTest.java (59%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/separatecompilationunits/superclass/MappedSuperclass.java (84%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/sortedcollection/PrintJob.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/sortedcollection/Printer.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/sortedcollection/SortedCollectionTest.java (66%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java (66%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java (69%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/supresswarnings/TestEntity.java (87%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/targetannotation/Address.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/targetannotation/AddressImpl.java (85%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/targetannotation/House.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/targetannotation/TargetAnnotationTest.java (62%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/usertype/ContactDetails.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/usertype/PhoneNumber.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/usertype/UserTypeTest.java (63%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/CompilationRunner.java (98%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/CompilationStatement.java (98%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/CompilationTest.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/IgnoreCompilationErrors.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/TestForIssue.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/TestUtil.java (99%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/WithClasses.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/WithMappingFiles.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/util/WithProcessorOption.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/wildcard/Property.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/wildcard/PropertyRepo.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/wildcard/WildcardTest.java (65%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlembeddable/BusinessEntity.java (78%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java (66%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlembeddable/Foo.java (87%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlembeddable/foo/BusinessId.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/Address.java (93%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/Boy.java (96%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/Building.java (74%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/FakeHero.java (85%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/IgnoreInvalidXmlTest.java (70%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/LivingBeing.java (91%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/Mammal.java (92%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/Superhero.java (94%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/XmlMappingTest.java (76%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/multiplepus/Dummy.java (87%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java (58%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/singlepu/Dummy.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java (56%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/Car.java (90%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/Course.java (88%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/Option.java (86%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/Period.java (87%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/Teacher.java (87%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/Tire.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/XmlOnly.java (89%) rename tooling/metamodel-generator/src/test/java/org/hibernate/{jpamodelgen => processor}/test/xmlonly/XmlOnlyTest.java (74%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/accesstype/orm.xml (88%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/annotationtype/orm.xml (93%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/elementcollection/hostel.xml (71%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withinheritance/orm.xml (81%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/embeddedid/withoutinheritance/orm.xml (75%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/mixedmode/car.xml (92%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/mixedmode/coordinates.xml (85%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/mixedmode/orm.xml (92%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/mixedmode/rentalcar.xml (91%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/mixedmode/truck.xml (92%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/persistence21/persistence.xml (88%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/persistence21/snafu.xml (92%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlembeddable/orm.xml (86%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/address.xml (90%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/boy.xml (83%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/building.xml (90%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/jpa1-orm.xml (93%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/malformed-mapping.xml (92%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/mammal.xml (93%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/non-existend-class.xml (92%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmapped/persistence.xml (66%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/multiplepus/bar.xml (100%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/multiplepus/foo.xml (100%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/multiplepus/persistence.xml (79%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/singlepu/foo.xml (100%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlmetacomplete/singlepu/persistence.xml (86%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlonly/persistence.xml (87%) rename tooling/metamodel-generator/src/test/resources/org/hibernate/{jpamodelgen => processor}/test/xmlonly/xmlonly.xml (97%) diff --git a/gradle/java-module.gradle b/gradle/java-module.gradle index 54ffacc7a0..257ed9a5ba 100644 --- a/gradle/java-module.gradle +++ b/gradle/java-module.gradle @@ -438,7 +438,7 @@ checkstyle { // exclude generated java sources - by explicitly setting the base source dir tasks.checkstyleMain.source = 'src/main/java' tasks.checkstyleMain - .exclude('org/hibernate/jpamodelgen/util/NullnessUtil.java') + .exclude('org/hibernate/processor/util/NullnessUtil.java') .exclude('org/hibernate/internal/util/NullnessUtil.java') // define a second checkstyle task for checking non-fatal violations @@ -475,7 +475,7 @@ checkerFramework { extraJavacArgs = [ '-AsuppressWarnings=initialization', // stubs is passed directly through options.compilerArgumentProviders - '-AonlyDefs=^org\\.hibernate\\.(jdbc|exception|integrator|jpamodelgen|service|spi|pretty|property\\.access|stat|engine\\.(config|jndi|profile|spi|transaction)|(action|context|bytecode)\\.spi)\\.' + '-AonlyDefs=^org\\.hibernate\\.(jdbc|exception|integrator|processor|service|spi|pretty|property\\.access|stat|engine\\.(config|jndi|profile|spi|transaction)|(action|context|bytecode)\\.spi)\\.' ] } diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index c7332d56b5..5fa28aafd4 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -227,7 +227,7 @@ task generateEnversStaticMetamodel( options.compilerArgs = [ "-proc:only", "-processor", - "org.hibernate.jpamodelgen.HibernateProcessor" + "org.hibernate.processor.HibernateProcessor" ] // put static metamodel classes back out to the source tree since they're version controlled. diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/processing/package-info.java b/hibernate-core/src/main/java/org/hibernate/annotations/processing/package-info.java index d3299c9225..b4044a97e9 100644 --- a/hibernate-core/src/main/java/org/hibernate/annotations/processing/package-info.java +++ b/hibernate-core/src/main/java/org/hibernate/annotations/processing/package-info.java @@ -88,7 +88,7 @@ * * @Dependent * @StaticMetamodel(BookRepository.class) - * @Generated("org.hibernate.jpamodelgen.HibernateProcessor") + * @Generated("org.hibernate.processor.HibernateProcessor") * public class BookRepository_ implements BookRepository { * * diff --git a/tooling/metamodel-generator/hibernate-jpamodelgen.gradle b/tooling/metamodel-generator/hibernate-jpamodelgen.gradle index ae92957730..0c57c8b97b 100644 --- a/tooling/metamodel-generator/hibernate-jpamodelgen.gradle +++ b/tooling/metamodel-generator/hibernate-jpamodelgen.gradle @@ -170,7 +170,7 @@ task jaxb { ant.xjc( destdir: ( xjcTargetDir as File ).absolutePath, - package: 'org.hibernate.jpamodelgen.xml.jaxb', + package: 'org.hibernate.processor.xml.jaxb', extension: 'true' ) { project.ant.arg line: '-no-header' diff --git a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/Author.java b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Author.java similarity index 84% rename from tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/Author.java rename to tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Author.java index b968efbca3..6ec531176a 100644 --- a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/Author.java +++ b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Author.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.data.data; +package org.hibernate.processor.test.data; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/Book.java b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Book.java similarity index 92% rename from tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/Book.java rename to tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Book.java index 2eda4464fa..580278909e 100644 --- a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/Book.java +++ b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Book.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.data.data; +package org.hibernate.processor.test.data; import jakarta.persistence.*; import org.hibernate.annotations.NaturalId; diff --git a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/BookAuthorRepository.java b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/BookAuthorRepository.java similarity index 98% rename from tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/BookAuthorRepository.java rename to tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/BookAuthorRepository.java index 71d0a8db77..b2c1038b7b 100644 --- a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/BookAuthorRepository.java +++ b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/BookAuthorRepository.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.data.data; +package org.hibernate.processor.test.data; import jakarta.data.Limit; import jakarta.data.Order; diff --git a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/DataTest.java b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/DataTest.java similarity index 75% rename from tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/DataTest.java rename to tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/DataTest.java index 82b0eddb55..96309a5998 100644 --- a/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/jpamodelgen/test/data/data/DataTest.java +++ b/tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/DataTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.data.data; +package org.hibernate.processor.test.data; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ClassWriter.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ClassWriter.java similarity index 97% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ClassWriter.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/ClassWriter.java index c7a3b26f63..1a6a8fd0b0 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ClassWriter.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ClassWriter.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; import javax.annotation.processing.FilerException; import javax.lang.model.element.ElementKind; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ContainsAttributeTypeVisitor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ContainsAttributeTypeVisitor.java similarity index 85% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ContainsAttributeTypeVisitor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/ContainsAttributeTypeVisitor.java index 390d5417bb..412c062554 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ContainsAttributeTypeVisitor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ContainsAttributeTypeVisitor.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; @@ -14,10 +14,10 @@ import javax.lang.model.type.ExecutableType; import javax.lang.model.type.TypeMirror; import javax.lang.model.util.SimpleTypeVisitor8; -import static org.hibernate.jpamodelgen.util.Constants.COLLECTIONS; -import static org.hibernate.jpamodelgen.util.StringUtil.isProperty; -import static org.hibernate.jpamodelgen.util.TypeUtils.getCollectionElementType; -import static org.hibernate.jpamodelgen.util.TypeUtils.toTypeString; +import static org.hibernate.processor.util.Constants.COLLECTIONS; +import static org.hibernate.processor.util.StringUtil.isProperty; +import static org.hibernate.processor.util.TypeUtils.getCollectionElementType; +import static org.hibernate.processor.util.TypeUtils.toTypeString; class ContainsAttributeTypeVisitor extends SimpleTypeVisitor8 { diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Context.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/Context.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Context.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/Context.java index 1942dc2397..0aac6474a6 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Context.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/Context.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; import java.util.ArrayList; import java.util.Collection; @@ -22,9 +22,9 @@ import javax.lang.model.util.Elements; import javax.lang.model.util.Types; import javax.tools.Diagnostic; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.AccessType; -import org.hibernate.jpamodelgen.util.AccessTypeInformation; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.AccessType; +import org.hibernate.processor.util.AccessTypeInformation; import org.checkerframework.checker.nullness.qual.Nullable; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/HibernateProcessor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java similarity index 93% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/HibernateProcessor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java index cf8771e88a..06bc2bcaf5 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/HibernateProcessor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.annotation.AnnotationMetaEntity; -import org.hibernate.jpamodelgen.annotation.AnnotationMetaPackage; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.xml.JpaDescriptorParser; +import org.hibernate.processor.annotation.AnnotationMetaEntity; +import org.hibernate.processor.annotation.AnnotationMetaPackage; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.xml.JpaDescriptorParser; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.ProcessingEnvironment; @@ -35,21 +35,21 @@ import java.util.Set; import static java.lang.Boolean.parseBoolean; import static javax.lang.model.util.ElementFilter.fieldsIn; import static javax.lang.model.util.ElementFilter.methodsIn; -import static org.hibernate.jpamodelgen.HibernateProcessor.ADD_GENERATED_ANNOTATION; -import static org.hibernate.jpamodelgen.HibernateProcessor.ADD_GENERATION_DATE; -import static org.hibernate.jpamodelgen.HibernateProcessor.ADD_SUPPRESS_WARNINGS_ANNOTATION; -import static org.hibernate.jpamodelgen.HibernateProcessor.DEBUG_OPTION; -import static org.hibernate.jpamodelgen.HibernateProcessor.FULLY_ANNOTATION_CONFIGURED_OPTION; -import static org.hibernate.jpamodelgen.HibernateProcessor.LAZY_XML_PARSING; -import static org.hibernate.jpamodelgen.HibernateProcessor.ORM_XML_OPTION; -import static org.hibernate.jpamodelgen.HibernateProcessor.PERSISTENCE_XML_OPTION; -import static org.hibernate.jpamodelgen.HibernateProcessor.SUPPRESS_JAKARTA_DATA_METAMODEL; -import static org.hibernate.jpamodelgen.util.Constants.*; -import static org.hibernate.jpamodelgen.util.TypeUtils.containsAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationMirror; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationValue; -import static org.hibernate.jpamodelgen.util.TypeUtils.hasAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.isClassOrRecordType; +import static org.hibernate.processor.HibernateProcessor.ADD_GENERATED_ANNOTATION; +import static org.hibernate.processor.HibernateProcessor.ADD_GENERATION_DATE; +import static org.hibernate.processor.HibernateProcessor.ADD_SUPPRESS_WARNINGS_ANNOTATION; +import static org.hibernate.processor.HibernateProcessor.DEBUG_OPTION; +import static org.hibernate.processor.HibernateProcessor.FULLY_ANNOTATION_CONFIGURED_OPTION; +import static org.hibernate.processor.HibernateProcessor.LAZY_XML_PARSING; +import static org.hibernate.processor.HibernateProcessor.ORM_XML_OPTION; +import static org.hibernate.processor.HibernateProcessor.PERSISTENCE_XML_OPTION; +import static org.hibernate.processor.HibernateProcessor.SUPPRESS_JAKARTA_DATA_METAMODEL; +import static org.hibernate.processor.util.Constants.*; +import static org.hibernate.processor.util.TypeUtils.containsAnnotation; +import static org.hibernate.processor.util.TypeUtils.getAnnotationMirror; +import static org.hibernate.processor.util.TypeUtils.getAnnotationValue; +import static org.hibernate.processor.util.TypeUtils.hasAnnotation; +import static org.hibernate.processor.util.TypeUtils.isClassOrRecordType; /** * Main annotation processor. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ImportContextImpl.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ImportContextImpl.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ImportContextImpl.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/ImportContextImpl.java index df856a2b2e..8fa7353ac2 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ImportContextImpl.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ImportContextImpl.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; import java.util.HashMap; import java.util.Map; @@ -13,7 +13,7 @@ import java.util.Set; import java.util.StringTokenizer; import java.util.TreeSet; -import org.hibernate.jpamodelgen.model.ImportContext; +import org.hibernate.processor.model.ImportContext; import static java.lang.Character.isWhitespace; import static java.lang.System.lineSeparator; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/MetaModelGenerationException.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/MetaModelGenerationException.java similarity index 94% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/MetaModelGenerationException.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/MetaModelGenerationException.java index c08422ded6..c41f660a0c 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/MetaModelGenerationException.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/MetaModelGenerationException.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; /** * {@code RuntimeException} used for errors during meta model generation. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ProcessLaterException.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ProcessLaterException.java similarity index 89% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ProcessLaterException.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/ProcessLaterException.java index 1ce0677a8e..65a795d0ad 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ProcessLaterException.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/ProcessLaterException.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; public class ProcessLaterException extends RuntimeException { } diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Version.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/Version.java similarity index 89% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Version.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/Version.java index b51f03e98f..5a437c75af 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Version.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/Version.java @@ -4,9 +4,9 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; -import org.hibernate.jpamodelgen.util.NullnessUtil; +import org.hibernate.processor.util.NullnessUtil; import org.checkerframework.checker.nullness.qual.Nullable; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractFinderMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractFinderMethod.java similarity index 94% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractFinderMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractFinderMethod.java index e712934482..74bcef7bdf 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractFinderMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractFinderMethod.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.hibernate.internal.util.StringHelper; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.util.Constants; import java.util.List; import java.util.Locale; -import static org.hibernate.jpamodelgen.util.Constants.HIB_SESSION; -import static org.hibernate.jpamodelgen.util.StringUtil.getUpperUnderscoreCaseFromLowerCamelCase; +import static org.hibernate.processor.util.Constants.HIB_SESSION; +import static org.hibernate.processor.util.StringUtil.getUpperUnderscoreCaseFromLowerCamelCase; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractQueryMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractQueryMethod.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractQueryMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractQueryMethod.java index 5a39e22f86..077bf9db3c 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractQueryMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractQueryMethod.java @@ -4,19 +4,19 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; import org.hibernate.AssertionFailure; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; import java.util.List; import java.util.stream.Collectors; import static java.util.stream.Collectors.toList; -import static org.hibernate.jpamodelgen.util.Constants.*; -import static org.hibernate.jpamodelgen.util.TypeUtils.isPrimitive; +import static org.hibernate.processor.util.Constants.*; +import static org.hibernate.processor.util.TypeUtils.isPrimitive; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMeta.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMeta.java similarity index 92% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMeta.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMeta.java index 24250d48ef..042fcc98b6 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMeta.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMeta.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.Recognizer; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.Constants; -import org.hibernate.jpamodelgen.validation.ProcessorSessionFactory; -import org.hibernate.jpamodelgen.validation.Validation; +import org.hibernate.processor.Context; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.Constants; +import org.hibernate.processor.validation.ProcessorSessionFactory; +import org.hibernate.processor.validation.Validation; import org.hibernate.query.sqm.tree.SqmStatement; import org.hibernate.query.sqm.tree.select.SqmSelectStatement; @@ -23,10 +23,10 @@ import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.Element; import java.util.List; -import static org.hibernate.jpamodelgen.util.TypeUtils.containsAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationMirror; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationValue; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationValueRef; +import static org.hibernate.processor.util.TypeUtils.containsAnnotation; +import static org.hibernate.processor.util.TypeUtils.getAnnotationMirror; +import static org.hibernate.processor.util.TypeUtils.getAnnotationValue; +import static org.hibernate.processor.util.TypeUtils.getAnnotationValueRef; public abstract class AnnotationMeta implements Metamodel { diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaAttribute.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaAttribute.java index 93e74d0d68..6d73ac4d6b 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaAttribute.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; import javax.lang.model.element.Element; -import static org.hibernate.jpamodelgen.util.StringUtil.getUpperUnderscoreCaseFromLowerCamelCase; -import static org.hibernate.jpamodelgen.util.TypeUtils.propertyName; +import static org.hibernate.processor.util.StringUtil.getUpperUnderscoreCaseFromLowerCamelCase; +import static org.hibernate.processor.util.TypeUtils.propertyName; /** * Captures all information about an annotated persistent attribute. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaCollection.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaCollection.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaCollection.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaCollection.java index 1bb3c88b0a..48c1c402ec 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaCollection.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaCollection.java @@ -4,11 +4,11 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import javax.lang.model.element.Element; -import org.hibernate.jpamodelgen.model.MetaCollection; +import org.hibernate.processor.model.MetaCollection; /** * @author Max Andersen diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java similarity index 97% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java index 64733dbb6a..705de9f862 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java @@ -4,21 +4,21 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; import org.hibernate.AssertionFailure; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.ImportContextImpl; -import org.hibernate.jpamodelgen.ProcessLaterException; -import org.hibernate.jpamodelgen.model.ImportContext; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.AccessType; -import org.hibernate.jpamodelgen.util.AccessTypeInformation; -import org.hibernate.jpamodelgen.util.Constants; -import org.hibernate.jpamodelgen.validation.ProcessorSessionFactory; -import org.hibernate.jpamodelgen.validation.Validation; +import org.hibernate.processor.Context; +import org.hibernate.processor.ImportContextImpl; +import org.hibernate.processor.ProcessLaterException; +import org.hibernate.processor.model.ImportContext; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.AccessType; +import org.hibernate.processor.util.AccessTypeInformation; +import org.hibernate.processor.util.Constants; +import org.hibernate.processor.validation.ProcessorSessionFactory; +import org.hibernate.processor.validation.Validation; import org.hibernate.metamodel.model.domain.EntityDomainType; import org.hibernate.query.criteria.JpaEntityJoin; import org.hibernate.query.criteria.JpaRoot; @@ -65,21 +65,21 @@ import static java.util.stream.Collectors.toList; import static javax.lang.model.util.ElementFilter.fieldsIn; import static javax.lang.model.util.ElementFilter.methodsIn; import static org.hibernate.internal.util.StringHelper.qualify; -import static org.hibernate.jpamodelgen.annotation.AbstractQueryMethod.isSessionParameter; -import static org.hibernate.jpamodelgen.annotation.AbstractQueryMethod.isSpecialParam; -import static org.hibernate.jpamodelgen.annotation.QueryMethod.isOrderParam; -import static org.hibernate.jpamodelgen.annotation.QueryMethod.isPageParam; -import static org.hibernate.jpamodelgen.util.Constants.*; -import static org.hibernate.jpamodelgen.util.NullnessUtil.castNonNull; -import static org.hibernate.jpamodelgen.util.TypeUtils.containsAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.determineAccessTypeForHierarchy; -import static org.hibernate.jpamodelgen.util.TypeUtils.determineAnnotationSpecifiedAccessType; -import static org.hibernate.jpamodelgen.util.TypeUtils.findMappedSuperClass; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationMirror; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationValue; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationValueRef; -import static org.hibernate.jpamodelgen.util.TypeUtils.hasAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.primitiveClassMatchesKind; +import static org.hibernate.processor.annotation.AbstractQueryMethod.isSessionParameter; +import static org.hibernate.processor.annotation.AbstractQueryMethod.isSpecialParam; +import static org.hibernate.processor.annotation.QueryMethod.isOrderParam; +import static org.hibernate.processor.annotation.QueryMethod.isPageParam; +import static org.hibernate.processor.util.Constants.*; +import static org.hibernate.processor.util.NullnessUtil.castNonNull; +import static org.hibernate.processor.util.TypeUtils.containsAnnotation; +import static org.hibernate.processor.util.TypeUtils.determineAccessTypeForHierarchy; +import static org.hibernate.processor.util.TypeUtils.determineAnnotationSpecifiedAccessType; +import static org.hibernate.processor.util.TypeUtils.findMappedSuperClass; +import static org.hibernate.processor.util.TypeUtils.getAnnotationMirror; +import static org.hibernate.processor.util.TypeUtils.getAnnotationValue; +import static org.hibernate.processor.util.TypeUtils.getAnnotationValueRef; +import static org.hibernate.processor.util.TypeUtils.hasAnnotation; +import static org.hibernate.processor.util.TypeUtils.primitiveClassMatchesKind; /** * Class used to collect meta information about an annotated type (entity, embeddable or mapped superclass). diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaMap.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaMap.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaMap.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaMap.java index 0a06cf80fb..a9ef58c894 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaMap.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaMap.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import javax.lang.model.element.Element; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaPackage.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaPackage.java similarity index 93% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaPackage.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaPackage.java index 2b4056fea9..b679882152 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaPackage.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaPackage.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.ImportContextImpl; -import org.hibernate.jpamodelgen.model.ImportContext; -import org.hibernate.jpamodelgen.model.MetaAttribute; +import org.hibernate.processor.Context; +import org.hibernate.processor.ImportContextImpl; +import org.hibernate.processor.model.ImportContext; +import org.hibernate.processor.model.MetaAttribute; import javax.lang.model.element.PackageElement; import javax.tools.Diagnostic; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaSingleAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaSingleAttribute.java similarity index 82% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaSingleAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaSingleAttribute.java index c973e1e049..10f7d2f44c 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaSingleAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaSingleAttribute.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import javax.lang.model.element.Element; -import org.hibernate.jpamodelgen.model.MetaSingleAttribute; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.model.MetaSingleAttribute; +import org.hibernate.processor.util.Constants; /** * @author Max Andersen diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaType.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaType.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaType.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaType.java index 120d1c67c1..be46b5fd77 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaType.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaType.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.Constants; import org.hibernate.metamodel.model.domain.ManagedDomainType; -import static org.hibernate.jpamodelgen.util.TypeUtils.hasAnnotation; +import static org.hibernate.processor.util.TypeUtils.hasAnnotation; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/CriteriaFinderMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaFinderMethod.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/CriteriaFinderMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaFinderMethod.java index 3a08a5f5ca..580a295863 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/CriteriaFinderMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaFinderMethod.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.util.Constants; import java.util.List; import java.util.StringTokenizer; -import static org.hibernate.jpamodelgen.util.Constants.LIST; -import static org.hibernate.jpamodelgen.util.TypeUtils.isPrimitive; +import static org.hibernate.processor.util.Constants.LIST; +import static org.hibernate.processor.util.TypeUtils.isPrimitive; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DataAnnotationMetaAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataAnnotationMetaAttribute.java similarity index 92% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DataAnnotationMetaAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataAnnotationMetaAttribute.java index 308305eaab..996ca26b84 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DataAnnotationMetaAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataAnnotationMetaAttribute.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; import javax.lang.model.element.Element; -import static org.hibernate.jpamodelgen.util.TypeUtils.propertyName; +import static org.hibernate.processor.util.TypeUtils.propertyName; /** * Captures all information about an annotated persistent attribute. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DataMetaAttributeGenerationVisitor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataMetaAttributeGenerationVisitor.java similarity index 86% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DataMetaAttributeGenerationVisitor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataMetaAttributeGenerationVisitor.java index 8aa7adddaf..867e753f07 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DataMetaAttributeGenerationVisitor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataMetaAttributeGenerationVisitor.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.util.Constants; -import org.hibernate.jpamodelgen.util.TypeUtils; +import org.hibernate.processor.Context; +import org.hibernate.processor.util.Constants; +import org.hibernate.processor.util.TypeUtils; import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; @@ -21,10 +21,10 @@ import javax.lang.model.type.TypeVariable; import javax.lang.model.util.SimpleTypeVisitor8; import javax.lang.model.util.Types; -import static org.hibernate.jpamodelgen.util.TypeUtils.getTargetEntity; -import static org.hibernate.jpamodelgen.util.TypeUtils.isBasicAttribute; -import static org.hibernate.jpamodelgen.util.TypeUtils.toArrayTypeString; -import static org.hibernate.jpamodelgen.util.TypeUtils.toTypeString; +import static org.hibernate.processor.util.TypeUtils.getTargetEntity; +import static org.hibernate.processor.util.TypeUtils.isBasicAttribute; +import static org.hibernate.processor.util.TypeUtils.toArrayTypeString; +import static org.hibernate.processor.util.TypeUtils.toTypeString; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DefaultConstructor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DefaultConstructor.java similarity index 90% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DefaultConstructor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DefaultConstructor.java index 6135b6b98f..393e5de733 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/DefaultConstructor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DefaultConstructor.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.Constants; -import static org.hibernate.jpamodelgen.util.Constants.ENTITY_MANAGER_FACTORY; -import static org.hibernate.jpamodelgen.util.Constants.HIB_SESSION_FACTORY; +import static org.hibernate.processor.util.Constants.ENTITY_MANAGER_FACTORY; +import static org.hibernate.processor.util.Constants.HIB_SESSION_FACTORY; /** * Used by the container to instantiate a Jakarta Data repository. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/ErrorHandler.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/ErrorHandler.java similarity index 94% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/ErrorHandler.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/ErrorHandler.java index ce43b7cddb..e4e354f9f9 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/ErrorHandler.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/ErrorHandler.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.antlr.v4.runtime.Parser; import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.Recognizer; import org.antlr.v4.runtime.atn.ATNConfigSet; import org.antlr.v4.runtime.dfa.DFA; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.validation.Validation; +import org.hibernate.processor.Context; +import org.hibernate.processor.validation.Validation; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/IdFinderMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/IdFinderMethod.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/IdFinderMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/IdFinderMethod.java index 5de3129f67..2f0b083910 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/IdFinderMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/IdFinderMethod.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import java.util.List; import static java.util.Collections.emptyList; -import static org.hibernate.jpamodelgen.util.TypeUtils.isPrimitive; +import static org.hibernate.processor.util.TypeUtils.isPrimitive; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/LifecycleMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/LifecycleMethod.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/LifecycleMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/LifecycleMethod.java index bed61849f5..c20a29a15d 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/LifecycleMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/LifecycleMethod.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; public class LifecycleMethod implements MetaAttribute { private final AnnotationMetaEntity annotationMetaEntity; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/MetaAttributeGenerationVisitor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/MetaAttributeGenerationVisitor.java similarity index 80% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/MetaAttributeGenerationVisitor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/MetaAttributeGenerationVisitor.java index 206c239644..4503300d57 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/MetaAttributeGenerationVisitor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/MetaAttributeGenerationVisitor.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.util.AccessType; -import org.hibernate.jpamodelgen.util.AccessTypeInformation; -import org.hibernate.jpamodelgen.util.Constants; -import org.hibernate.jpamodelgen.util.TypeUtils; +import org.hibernate.processor.Context; +import org.hibernate.processor.util.AccessType; +import org.hibernate.processor.util.AccessTypeInformation; +import org.hibernate.processor.util.Constants; +import org.hibernate.processor.util.TypeUtils; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.Element; @@ -28,23 +28,23 @@ import javax.lang.model.util.Types; import javax.tools.Diagnostic; import java.util.List; -import static org.hibernate.jpamodelgen.util.Constants.ELEMENT_COLLECTION; -import static org.hibernate.jpamodelgen.util.Constants.MANY_TO_ANY; -import static org.hibernate.jpamodelgen.util.Constants.MANY_TO_MANY; -import static org.hibernate.jpamodelgen.util.Constants.ONE_TO_MANY; -import static org.hibernate.jpamodelgen.util.NullnessUtil.castNonNull; -import static org.hibernate.jpamodelgen.util.TypeUtils.DEFAULT_ANNOTATION_PARAMETER_NAME; -import static org.hibernate.jpamodelgen.util.TypeUtils.determineAnnotationSpecifiedAccessType; -import static org.hibernate.jpamodelgen.util.TypeUtils.extractClosestRealTypeAsString; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationMirror; -import static org.hibernate.jpamodelgen.util.TypeUtils.getAnnotationValue; -import static org.hibernate.jpamodelgen.util.TypeUtils.getCollectionElementType; -import static org.hibernate.jpamodelgen.util.TypeUtils.getKeyType; -import static org.hibernate.jpamodelgen.util.TypeUtils.hasAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.isBasicAttribute; -import static org.hibernate.jpamodelgen.util.TypeUtils.isPropertyGetter; -import static org.hibernate.jpamodelgen.util.TypeUtils.toArrayTypeString; -import static org.hibernate.jpamodelgen.util.TypeUtils.toTypeString; +import static org.hibernate.processor.util.Constants.ELEMENT_COLLECTION; +import static org.hibernate.processor.util.Constants.MANY_TO_ANY; +import static org.hibernate.processor.util.Constants.MANY_TO_MANY; +import static org.hibernate.processor.util.Constants.ONE_TO_MANY; +import static org.hibernate.processor.util.NullnessUtil.castNonNull; +import static org.hibernate.processor.util.TypeUtils.DEFAULT_ANNOTATION_PARAMETER_NAME; +import static org.hibernate.processor.util.TypeUtils.determineAnnotationSpecifiedAccessType; +import static org.hibernate.processor.util.TypeUtils.extractClosestRealTypeAsString; +import static org.hibernate.processor.util.TypeUtils.getAnnotationMirror; +import static org.hibernate.processor.util.TypeUtils.getAnnotationValue; +import static org.hibernate.processor.util.TypeUtils.getCollectionElementType; +import static org.hibernate.processor.util.TypeUtils.getKeyType; +import static org.hibernate.processor.util.TypeUtils.hasAnnotation; +import static org.hibernate.processor.util.TypeUtils.isBasicAttribute; +import static org.hibernate.processor.util.TypeUtils.isPropertyGetter; +import static org.hibernate.processor.util.TypeUtils.toArrayTypeString; +import static org.hibernate.processor.util.TypeUtils.toTypeString; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NameMetaAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NameMetaAttribute.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NameMetaAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NameMetaAttribute.java index d36e621b10..b2aa1872f4 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NameMetaAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NameMetaAttribute.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; -import static org.hibernate.jpamodelgen.util.StringUtil.nameToFieldName; +import static org.hibernate.processor.util.StringUtil.nameToFieldName; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NamedQueryMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NamedQueryMethod.java similarity index 94% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NamedQueryMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NamedQueryMethod.java index 156e23076e..042b2af39a 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NamedQueryMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NamedQueryMethod.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.Constants; import org.hibernate.query.sqm.SqmExpressible; import org.hibernate.query.sqm.tree.expression.SqmParameter; import org.hibernate.query.sqm.tree.select.SqmSelectStatement; @@ -21,8 +21,8 @@ import javax.lang.model.element.TypeElement; import java.util.List; import java.util.TreeSet; -import static org.hibernate.jpamodelgen.util.StringUtil.nameToFieldName; -import static org.hibernate.jpamodelgen.validation.ProcessorSessionFactory.findEntityByUnqualifiedName; +import static org.hibernate.processor.util.StringUtil.nameToFieldName; +import static org.hibernate.processor.validation.ProcessorSessionFactory.findEntityByUnqualifiedName; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NaturalIdFinderMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NaturalIdFinderMethod.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NaturalIdFinderMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NaturalIdFinderMethod.java index 9a5773477c..3b17225bfc 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NaturalIdFinderMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/NaturalIdFinderMethod.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import java.util.List; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/OrderBy.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/OrderBy.java similarity index 91% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/OrderBy.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/OrderBy.java index a0d7636ed2..c2fb19a764 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/OrderBy.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/OrderBy.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; class OrderBy { String fieldName; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/QueryMethod.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/QueryMethod.java index 9ccaa6b76b..eda8a407f6 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/QueryMethod.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; import org.hibernate.internal.util.StringHelper; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.util.Constants; import java.util.List; -import static org.hibernate.jpamodelgen.util.Constants.LIST; -import static org.hibernate.jpamodelgen.util.StringUtil.getUpperUnderscoreCaseFromLowerCamelCase; +import static org.hibernate.processor.util.Constants.LIST; +import static org.hibernate.processor.util.StringUtil.getUpperUnderscoreCaseFromLowerCamelCase; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/RepositoryConstructor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/RepositoryConstructor.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/RepositoryConstructor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/RepositoryConstructor.java index 0d8d3d7fe2..c78e292ed5 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/RepositoryConstructor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/RepositoryConstructor.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.Constants; /** * A general purpose constructor which accepts the session. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/package-info.java similarity index 86% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/package-info.java index 582c459d92..c6cae76e33 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/package-info.java @@ -7,4 +7,4 @@ /** * Implementation of the model classes backed by annotations. */ -package org.hibernate.jpamodelgen.annotation; +package org.hibernate.processor.annotation; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/ImportContext.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/ImportContext.java similarity index 95% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/ImportContext.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/ImportContext.java index 00f550d26e..9499656e61 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/ImportContext.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/ImportContext.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.model; +package org.hibernate.processor.model; /** * @author Max Andersen diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaAttribute.java similarity index 93% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaAttribute.java index 128090b381..7bc452d73e 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaAttribute.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.model; +package org.hibernate.processor.model; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaCollection.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaCollection.java similarity index 89% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaCollection.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaCollection.java index 1c6e0b9feb..d57424a89e 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaCollection.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaCollection.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.model; +package org.hibernate.processor.model; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaSingleAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaSingleAttribute.java similarity index 89% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaSingleAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaSingleAttribute.java index 6dd4220746..56c0725242 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/MetaSingleAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/MetaSingleAttribute.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.model; +package org.hibernate.processor.model; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/Metamodel.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/Metamodel.java similarity index 91% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/Metamodel.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/Metamodel.java index ef7c77bacf..c01a68dd06 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/Metamodel.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/Metamodel.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.model; +package org.hibernate.processor.model; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.Context; +import org.hibernate.processor.Context; import java.util.List; import javax.lang.model.element.Element; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/package-info.java similarity index 85% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/package-info.java index f39ef02056..3168060cf0 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/model/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/model/package-info.java @@ -4,4 +4,4 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.model; +package org.hibernate.processor.model; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/package-info.java similarity index 70% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/package-info.java index 5156b010de..5450b5810c 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/package-info.java @@ -6,6 +6,6 @@ */ /** * The main package of this annotation processor. - * The actual processor class is {@link org.hibernate.jpamodelgen.HibernateProcessor}. + * The actual processor class is {@link org.hibernate.processor.HibernateProcessor}. */ -package org.hibernate.jpamodelgen; +package org.hibernate.processor; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/AccessType.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/AccessType.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/AccessType.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/AccessType.java index ad7d7cca0b..314d8c2df0 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/AccessType.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/AccessType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/AccessTypeInformation.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/AccessTypeInformation.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/AccessTypeInformation.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/AccessTypeInformation.java index 83987d5ee6..0d6420bef5 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/AccessTypeInformation.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/AccessTypeInformation.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import org.checkerframework.checker.nullness.qual.Nullable; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/BasicAttributeVisitor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/BasicAttributeVisitor.java similarity index 84% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/BasicAttributeVisitor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/BasicAttributeVisitor.java index ef3f6bee10..1cc478cdad 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/BasicAttributeVisitor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/BasicAttributeVisitor.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.Context; +import org.hibernate.processor.util.Constants; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; @@ -19,10 +19,10 @@ import javax.lang.model.type.TypeMirror; import javax.lang.model.util.SimpleTypeVisitor8; import java.io.Serializable; -import static org.hibernate.jpamodelgen.util.Constants.BASIC_ARRAY_TYPES; -import static org.hibernate.jpamodelgen.util.Constants.BASIC_TYPES; -import static org.hibernate.jpamodelgen.util.TypeUtils.hasAnnotation; -import static org.hibernate.jpamodelgen.util.TypeUtils.isClassOrRecordType; +import static org.hibernate.processor.util.Constants.BASIC_ARRAY_TYPES; +import static org.hibernate.processor.util.Constants.BASIC_TYPES; +import static org.hibernate.processor.util.TypeUtils.hasAnnotation; +import static org.hibernate.processor.util.TypeUtils.isClassOrRecordType; /** * Checks whether the visited type is a basic attribute according to the JPA 2 spec diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/Constants.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/Constants.java similarity index 99% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/Constants.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/Constants.java index d5f4be2a29..35b99307cd 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/Constants.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/Constants.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import java.math.BigDecimal; import java.math.BigInteger; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/FileTimeStampChecker.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/FileTimeStampChecker.java similarity index 97% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/FileTimeStampChecker.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/FileTimeStampChecker.java index 6377f88b58..96a67be01a 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/FileTimeStampChecker.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/FileTimeStampChecker.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import java.io.Serializable; import java.util.HashMap; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/NullnessUtil.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/NullnessUtil.java similarity index 99% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/NullnessUtil.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/NullnessUtil.java index db2aa7125c..9326494431 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/NullnessUtil.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/NullnessUtil.java @@ -22,7 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import org.checkerframework.checker.nullness.qual.EnsuresNonNull; import org.checkerframework.checker.nullness.qual.NonNull; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/StringUtil.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/StringUtil.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/StringUtil.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/StringUtil.java index d2af84553e..1d6160635b 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/StringUtil.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/StringUtil.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import java.util.Locale; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeRenderingVisitor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeRenderingVisitor.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeRenderingVisitor.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeRenderingVisitor.java index 0ff9a2db83..ff43273500 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeRenderingVisitor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeRenderingVisitor.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import java.util.HashSet; import java.util.List; @@ -28,7 +28,7 @@ import javax.lang.model.util.SimpleTypeVisitor8; import org.checkerframework.checker.nullness.qual.Nullable; -import static org.hibernate.jpamodelgen.util.Constants.JAVA_OBJECT; +import static org.hibernate.processor.util.Constants.JAVA_OBJECT; /** * @author Christian Beikov diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeUtils.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java similarity index 95% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeUtils.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java index bd044bdd25..bf16180379 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeUtils.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; import org.checkerframework.checker.nullness.qual.Nullable; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.MetaModelGenerationException; -import org.hibernate.jpamodelgen.annotation.AnnotationMetaEntity; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.Context; +import org.hibernate.processor.MetaModelGenerationException; +import org.hibernate.processor.annotation.AnnotationMetaEntity; +import org.hibernate.processor.model.Metamodel; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; @@ -39,22 +39,22 @@ import java.util.Set; import java.util.function.Function; import static java.beans.Introspector.decapitalize; -import static org.hibernate.jpamodelgen.util.Constants.ACCESS; -import static org.hibernate.jpamodelgen.util.Constants.BASIC; -import static org.hibernate.jpamodelgen.util.Constants.ELEMENT_COLLECTION; -import static org.hibernate.jpamodelgen.util.Constants.EMBEDDABLE; -import static org.hibernate.jpamodelgen.util.Constants.EMBEDDED_ID; -import static org.hibernate.jpamodelgen.util.Constants.ENTITY; -import static org.hibernate.jpamodelgen.util.Constants.ID; -import static org.hibernate.jpamodelgen.util.Constants.JAVA_OBJECT; -import static org.hibernate.jpamodelgen.util.Constants.MANY_TO_MANY; -import static org.hibernate.jpamodelgen.util.Constants.MANY_TO_ONE; -import static org.hibernate.jpamodelgen.util.Constants.MAP; -import static org.hibernate.jpamodelgen.util.Constants.MAPPED_SUPERCLASS; -import static org.hibernate.jpamodelgen.util.Constants.ONE_TO_MANY; -import static org.hibernate.jpamodelgen.util.Constants.ONE_TO_ONE; -import static org.hibernate.jpamodelgen.util.NullnessUtil.castNonNull; -import static org.hibernate.jpamodelgen.util.StringUtil.isProperty; +import static org.hibernate.processor.util.Constants.ACCESS; +import static org.hibernate.processor.util.Constants.BASIC; +import static org.hibernate.processor.util.Constants.ELEMENT_COLLECTION; +import static org.hibernate.processor.util.Constants.EMBEDDABLE; +import static org.hibernate.processor.util.Constants.EMBEDDED_ID; +import static org.hibernate.processor.util.Constants.ENTITY; +import static org.hibernate.processor.util.Constants.ID; +import static org.hibernate.processor.util.Constants.JAVA_OBJECT; +import static org.hibernate.processor.util.Constants.MANY_TO_MANY; +import static org.hibernate.processor.util.Constants.MANY_TO_ONE; +import static org.hibernate.processor.util.Constants.MAP; +import static org.hibernate.processor.util.Constants.MAPPED_SUPERCLASS; +import static org.hibernate.processor.util.Constants.ONE_TO_MANY; +import static org.hibernate.processor.util.Constants.ONE_TO_ONE; +import static org.hibernate.processor.util.NullnessUtil.castNonNull; +import static org.hibernate.processor.util.StringUtil.isProperty; /** * Utility class. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/package-info.java similarity index 89% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/package-info.java index 460c82ce16..df379e6107 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/package-info.java @@ -7,4 +7,4 @@ /** * Helper classes for string and type processing as well as access type detection. */ -package org.hibernate.jpamodelgen.util; +package org.hibernate.processor.util; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/ContextProvidingValidationEventHandler.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/ContextProvidingValidationEventHandler.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/ContextProvidingValidationEventHandler.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/ContextProvidingValidationEventHandler.java index 4193257093..9c7404502c 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/ContextProvidingValidationEventHandler.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/ContextProvidingValidationEventHandler.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util.xml; +package org.hibernate.processor.util.xml; import jakarta.xml.bind.ValidationEvent; import jakarta.xml.bind.ValidationEventHandler; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/JpaNamespaceTransformingEventReader.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/JpaNamespaceTransformingEventReader.java similarity index 99% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/JpaNamespaceTransformingEventReader.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/JpaNamespaceTransformingEventReader.java index 9154e13a12..de73454e63 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/JpaNamespaceTransformingEventReader.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/JpaNamespaceTransformingEventReader.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util.xml; +package org.hibernate.processor.util.xml; import java.util.ArrayList; import java.util.HashMap; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/XmlParserHelper.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParserHelper.java similarity index 96% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/XmlParserHelper.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParserHelper.java index b73cc27a10..5351fa12a3 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/XmlParserHelper.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParserHelper.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util.xml; +package org.hibernate.processor.util.xml; import java.io.IOException; import java.io.InputStream; @@ -22,9 +22,9 @@ import javax.xml.stream.XMLStreamException; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.util.NullnessUtil; -import org.hibernate.jpamodelgen.xml.jaxb.ObjectFactory; +import org.hibernate.processor.Context; +import org.hibernate.processor.util.NullnessUtil; +import org.hibernate.processor.xml.jaxb.ObjectFactory; import org.checkerframework.checker.nullness.qual.Nullable; import org.xml.sax.SAXException; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/XmlParsingException.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParsingException.java similarity index 91% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/XmlParsingException.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParsingException.java index aa046770d0..a2e1f4e17e 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/XmlParsingException.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParsingException.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.util.xml; +package org.hibernate.processor.util.xml; /** * Custom exception for all sorts of XML parsing related exceptions. diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/package-info.java similarity index 87% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/package-info.java index 24c901853d..8e21541327 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/xml/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/package-info.java @@ -7,4 +7,4 @@ /** * XML helper classes. Used for parsing persistence.xml and orm.xml. */ -package org.hibernate.jpamodelgen.util.xml; +package org.hibernate.processor.util.xml; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockCollectionPersister.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockCollectionPersister.java similarity index 97% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockCollectionPersister.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockCollectionPersister.java index f4d537c138..7ac32c7a54 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockCollectionPersister.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockCollectionPersister.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import org.hibernate.FetchMode; import org.hibernate.QueryException; @@ -17,7 +17,7 @@ import org.hibernate.type.MapType; import org.hibernate.type.Type; import static org.hibernate.internal.util.StringHelper.root; -import static org.hibernate.jpamodelgen.validation.MockSessionFactory.typeConfiguration; +import static org.hibernate.processor.validation.MockSessionFactory.typeConfiguration; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockEntityPersister.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockEntityPersister.java similarity index 97% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockEntityPersister.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockEntityPersister.java index 4eeb5284cb..db099edb18 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockEntityPersister.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockEntityPersister.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import jakarta.persistence.AccessType; import org.hibernate.QueryException; @@ -24,7 +24,7 @@ import java.util.Map; import java.util.Objects; import java.util.Set; -import static org.hibernate.jpamodelgen.validation.MockSessionFactory.typeConfiguration; +import static org.hibernate.processor.validation.MockSessionFactory.typeConfiguration; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockJdbcServicesInitiator.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockJdbcServicesInitiator.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockJdbcServicesInitiator.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockJdbcServicesInitiator.java index 2c7cf795ac..b4ecca169a 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockJdbcServicesInitiator.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockJdbcServicesInitiator.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import org.hibernate.annotations.processing.GenericDialect; import org.hibernate.boot.model.naming.Identifier; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockSessionFactory.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java similarity index 99% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockSessionFactory.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java index 8d8f1d05ac..e67d98416c 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockSessionFactory.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import org.hibernate.CustomEntityDirtinessStrategy; import org.hibernate.EntityNameResolver; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Mocker.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/Mocker.java similarity index 98% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Mocker.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/Mocker.java index db4d2647f9..37e29bf78f 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Mocker.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/Mocker.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import net.bytebuddy.ByteBuddy; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/ProcessorSessionFactory.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/ProcessorSessionFactory.java similarity index 99% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/ProcessorSessionFactory.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/ProcessorSessionFactory.java index cf1d55feaa..eaaa9ca25f 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/ProcessorSessionFactory.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/ProcessorSessionFactory.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import jakarta.persistence.AccessType; import org.hibernate.PropertyNotFoundException; @@ -51,7 +51,7 @@ import static org.hibernate.internal.util.StringHelper.qualify; import static org.hibernate.internal.util.StringHelper.root; import static org.hibernate.internal.util.StringHelper.split; import static org.hibernate.internal.util.StringHelper.unroot; -import static org.hibernate.jpamodelgen.util.Constants.JAVA_OBJECT; +import static org.hibernate.processor.util.Constants.JAVA_OBJECT; /** * Implementation of the {@code Mock} objects based on standard diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Validation.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/Validation.java similarity index 95% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Validation.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/Validation.java index 6a3a9f9bab..e7950308d0 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Validation.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/Validation.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; import org.antlr.v4.runtime.ANTLRErrorListener; import org.antlr.v4.runtime.BailErrorStrategy; @@ -31,8 +31,8 @@ import javax.lang.model.type.DeclaredType; import javax.lang.model.type.TypeKind; import javax.lang.model.type.TypeMirror; -import static org.hibernate.jpamodelgen.validation.ProcessorSessionFactory.getEntityName; -import static org.hibernate.jpamodelgen.validation.ProcessorSessionFactory.isEntity; +import static org.hibernate.processor.validation.ProcessorSessionFactory.getEntityName; +import static org.hibernate.processor.validation.ProcessorSessionFactory.isEntity; /** diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/package-info.java similarity index 71% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/package-info.java index 590cdbbd69..e4943106a8 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/package-info.java @@ -7,6 +7,6 @@ /** * Validation for HQL queries. * - * @see org.hibernate.jpamodelgen.validation.Validation#validate + * @see org.hibernate.processor.validation.Validation#validate */ -package org.hibernate.jpamodelgen.validation; +package org.hibernate.processor.validation; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/JpaDescriptorParser.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/JpaDescriptorParser.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/JpaDescriptorParser.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/JpaDescriptorParser.java index 20082e3457..8182fbd061 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/JpaDescriptorParser.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/JpaDescriptorParser.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; import java.io.File; import java.io.FileInputStream; @@ -24,19 +24,19 @@ import javax.lang.model.util.Elements; import javax.tools.Diagnostic; import javax.xml.validation.Schema; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.util.AccessType; -import org.hibernate.jpamodelgen.util.AccessTypeInformation; -import org.hibernate.jpamodelgen.util.FileTimeStampChecker; -import org.hibernate.jpamodelgen.util.StringUtil; -import org.hibernate.jpamodelgen.util.TypeUtils; -import org.hibernate.jpamodelgen.util.xml.XmlParserHelper; -import org.hibernate.jpamodelgen.util.xml.XmlParsingException; -import org.hibernate.jpamodelgen.xml.jaxb.Entity; -import org.hibernate.jpamodelgen.xml.jaxb.EntityMappings; -import org.hibernate.jpamodelgen.xml.jaxb.Persistence; -import org.hibernate.jpamodelgen.xml.jaxb.PersistenceUnitDefaults; -import org.hibernate.jpamodelgen.xml.jaxb.PersistenceUnitMetadata; +import org.hibernate.processor.Context; +import org.hibernate.processor.util.AccessType; +import org.hibernate.processor.util.AccessTypeInformation; +import org.hibernate.processor.util.FileTimeStampChecker; +import org.hibernate.processor.util.StringUtil; +import org.hibernate.processor.util.TypeUtils; +import org.hibernate.processor.util.xml.XmlParserHelper; +import org.hibernate.processor.util.xml.XmlParsingException; +import org.hibernate.processor.xml.jaxb.Entity; +import org.hibernate.processor.xml.jaxb.EntityMappings; +import org.hibernate.processor.xml.jaxb.Persistence; +import org.hibernate.processor.xml.jaxb.PersistenceUnitDefaults; +import org.hibernate.processor.xml.jaxb.PersistenceUnitMetadata; import org.checkerframework.checker.nullness.qual.Nullable; @@ -262,9 +262,9 @@ public class JpaDescriptorParser { } private void parseEmbeddable( - Collection embeddables, + Collection embeddables, String defaultPackageName) { - for ( org.hibernate.jpamodelgen.xml.jaxb.Embeddable embeddable : embeddables ) { + for ( org.hibernate.processor.xml.jaxb.Embeddable embeddable : embeddables ) { String fqcn = StringUtil.determineFullyQualifiedClassName( defaultPackageName, embeddable.getClazz() ); // we have to extract the package name from the fqcn. Maybe the entity was setting a fqcn directly String pkg = StringUtil.packageNameFromFqcn( fqcn ); @@ -289,9 +289,9 @@ public class JpaDescriptorParser { } private void parseMappedSuperClass( - Collection mappedSuperClasses, + Collection mappedSuperClasses, String defaultPackageName) { - for ( org.hibernate.jpamodelgen.xml.jaxb.MappedSuperclass mappedSuperClass : mappedSuperClasses ) { + for ( org.hibernate.processor.xml.jaxb.MappedSuperclass mappedSuperClass : mappedSuperClasses ) { String fqcn = StringUtil.determineFullyQualifiedClassName( defaultPackageName, mappedSuperClass.getClazz() ); @@ -332,7 +332,7 @@ public class JpaDescriptorParser { private AccessType determineEntityAccessType(EntityMappings mappings) { AccessType accessType = context.getPersistenceUnitDefaultAccessType(); - final org.hibernate.jpamodelgen.xml.jaxb.AccessType mappingsAccess = mappings.getAccess(); + final org.hibernate.processor.xml.jaxb.AccessType mappingsAccess = mappings.getAccess(); if ( mappingsAccess != null ) { accessType = mapXmlAccessTypeToJpaAccessType( mappingsAccess ); } @@ -349,7 +349,7 @@ public class JpaDescriptorParser { String name = entity.getClazz(); fqcn = StringUtil.determineFullyQualifiedClassName( packageName, name ); AccessType explicitAccessType = null; - org.hibernate.jpamodelgen.xml.jaxb.AccessType type = entity.getAccess(); + org.hibernate.processor.xml.jaxb.AccessType type = entity.getAccess(); if ( type != null ) { explicitAccessType = mapXmlAccessTypeToJpaAccessType( type ); } @@ -359,11 +359,11 @@ public class JpaDescriptorParser { context.addAccessTypeInformation( fqcn, accessInfo ); } - for ( org.hibernate.jpamodelgen.xml.jaxb.MappedSuperclass mappedSuperClass : mappings.getMappedSuperclass() ) { + for ( org.hibernate.processor.xml.jaxb.MappedSuperclass mappedSuperClass : mappings.getMappedSuperclass() ) { String name = mappedSuperClass.getClazz(); fqcn = StringUtil.determineFullyQualifiedClassName( packageName, name ); AccessType explicitAccessType = null; - org.hibernate.jpamodelgen.xml.jaxb.AccessType type = mappedSuperClass.getAccess(); + org.hibernate.processor.xml.jaxb.AccessType type = mappedSuperClass.getAccess(); if ( type != null ) { explicitAccessType = mapXmlAccessTypeToJpaAccessType( type ); } @@ -373,11 +373,11 @@ public class JpaDescriptorParser { context.addAccessTypeInformation( fqcn, accessInfo ); } - for ( org.hibernate.jpamodelgen.xml.jaxb.Embeddable embeddable : mappings.getEmbeddable() ) { + for ( org.hibernate.processor.xml.jaxb.Embeddable embeddable : mappings.getEmbeddable() ) { String name = embeddable.getClazz(); fqcn = StringUtil.determineFullyQualifiedClassName( packageName, name ); AccessType explicitAccessType = null; - org.hibernate.jpamodelgen.xml.jaxb.AccessType type = embeddable.getAccess(); + org.hibernate.processor.xml.jaxb.AccessType type = embeddable.getAccess(); if ( type != null ) { explicitAccessType = mapXmlAccessTypeToJpaAccessType( type ); } @@ -403,7 +403,7 @@ public class JpaDescriptorParser { } } - for ( org.hibernate.jpamodelgen.xml.jaxb.MappedSuperclass mappedSuperClass : mappings.getMappedSuperclass() ) { + for ( org.hibernate.processor.xml.jaxb.MappedSuperclass mappedSuperClass : mappings.getMappedSuperclass() ) { String name = mappedSuperClass.getClazz(); fqcn = StringUtil.determineFullyQualifiedClassName( packageName, name ); TypeElement element = context.getTypeElementForFullyQualifiedName( fqcn ); @@ -437,7 +437,7 @@ public class JpaDescriptorParser { PersistenceUnitDefaults persistenceUnitDefaults = meta.getPersistenceUnitDefaults(); if ( persistenceUnitDefaults != null ) { - org.hibernate.jpamodelgen.xml.jaxb.AccessType xmlAccessType = persistenceUnitDefaults.getAccess(); + org.hibernate.processor.xml.jaxb.AccessType xmlAccessType = persistenceUnitDefaults.getAccess(); if ( xmlAccessType != null ) { context.setPersistenceUnitDefaultAccessType( mapXmlAccessTypeToJpaAccessType( xmlAccessType ) ); } @@ -449,7 +449,7 @@ public class JpaDescriptorParser { } } - private AccessType mapXmlAccessTypeToJpaAccessType(org.hibernate.jpamodelgen.xml.jaxb.AccessType xmlAccessType) { + private AccessType mapXmlAccessTypeToJpaAccessType(org.hibernate.processor.xml.jaxb.AccessType xmlAccessType) { switch ( xmlAccessType ) { case FIELD: return AccessType.FIELD; diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaAttribute.java similarity index 91% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaAttribute.java index 07d00e83d1..8b6f4871ae 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaAttribute.java @@ -4,11 +4,11 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.StringUtil; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.StringUtil; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaCollection.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaCollection.java similarity index 87% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaCollection.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaCollection.java index 0d57bbd569..fa7d18c0d8 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaCollection.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaCollection.java @@ -4,9 +4,9 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; -import org.hibernate.jpamodelgen.model.MetaCollection; +import org.hibernate.processor.model.MetaCollection; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaEntity.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaEntity.java similarity index 91% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaEntity.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaEntity.java index c0b277dffa..019043de00 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaEntity.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; import java.util.ArrayList; import java.util.List; @@ -17,40 +17,40 @@ import javax.lang.model.type.ExecutableType; import javax.lang.model.type.TypeMirror; import javax.tools.Diagnostic; -import org.hibernate.jpamodelgen.Context; -import org.hibernate.jpamodelgen.ImportContextImpl; -import org.hibernate.jpamodelgen.MetaModelGenerationException; -import org.hibernate.jpamodelgen.model.ImportContext; -import org.hibernate.jpamodelgen.model.MetaAttribute; -import org.hibernate.jpamodelgen.model.Metamodel; -import org.hibernate.jpamodelgen.util.AccessTypeInformation; -import org.hibernate.jpamodelgen.util.Constants; -import org.hibernate.jpamodelgen.util.NullnessUtil; -import org.hibernate.jpamodelgen.util.StringUtil; -import org.hibernate.jpamodelgen.util.TypeUtils; -import org.hibernate.jpamodelgen.xml.jaxb.Attributes; -import org.hibernate.jpamodelgen.xml.jaxb.Basic; -import org.hibernate.jpamodelgen.xml.jaxb.ElementCollection; -import org.hibernate.jpamodelgen.xml.jaxb.Embeddable; -import org.hibernate.jpamodelgen.xml.jaxb.EmbeddableAttributes; -import org.hibernate.jpamodelgen.xml.jaxb.Embedded; -import org.hibernate.jpamodelgen.xml.jaxb.EmbeddedId; -import org.hibernate.jpamodelgen.xml.jaxb.Entity; -import org.hibernate.jpamodelgen.xml.jaxb.Id; -import org.hibernate.jpamodelgen.xml.jaxb.ManyToMany; -import org.hibernate.jpamodelgen.xml.jaxb.ManyToOne; -import org.hibernate.jpamodelgen.xml.jaxb.MapKeyClass; -import org.hibernate.jpamodelgen.xml.jaxb.MappedSuperclass; -import org.hibernate.jpamodelgen.xml.jaxb.OneToMany; -import org.hibernate.jpamodelgen.xml.jaxb.OneToOne; +import org.hibernate.processor.Context; +import org.hibernate.processor.ImportContextImpl; +import org.hibernate.processor.MetaModelGenerationException; +import org.hibernate.processor.model.ImportContext; +import org.hibernate.processor.model.MetaAttribute; +import org.hibernate.processor.model.Metamodel; +import org.hibernate.processor.util.AccessTypeInformation; +import org.hibernate.processor.util.Constants; +import org.hibernate.processor.util.NullnessUtil; +import org.hibernate.processor.util.StringUtil; +import org.hibernate.processor.util.TypeUtils; +import org.hibernate.processor.xml.jaxb.Attributes; +import org.hibernate.processor.xml.jaxb.Basic; +import org.hibernate.processor.xml.jaxb.ElementCollection; +import org.hibernate.processor.xml.jaxb.Embeddable; +import org.hibernate.processor.xml.jaxb.EmbeddableAttributes; +import org.hibernate.processor.xml.jaxb.Embedded; +import org.hibernate.processor.xml.jaxb.EmbeddedId; +import org.hibernate.processor.xml.jaxb.Entity; +import org.hibernate.processor.xml.jaxb.Id; +import org.hibernate.processor.xml.jaxb.ManyToMany; +import org.hibernate.processor.xml.jaxb.ManyToOne; +import org.hibernate.processor.xml.jaxb.MapKeyClass; +import org.hibernate.processor.xml.jaxb.MappedSuperclass; +import org.hibernate.processor.xml.jaxb.OneToMany; +import org.hibernate.processor.xml.jaxb.OneToOne; import org.checkerframework.checker.nullness.qual.Nullable; -import static org.hibernate.jpamodelgen.util.StringUtil.determineFullyQualifiedClassName; -import static org.hibernate.jpamodelgen.util.TypeUtils.extractClosestRealTypeAsString; -import static org.hibernate.jpamodelgen.util.TypeUtils.findMappedSuperClass; -import static org.hibernate.jpamodelgen.util.TypeUtils.getElementKindForAccessType; -import static org.hibernate.jpamodelgen.xml.jaxb.AccessType.*; +import static org.hibernate.processor.util.StringUtil.determineFullyQualifiedClassName; +import static org.hibernate.processor.util.TypeUtils.extractClosestRealTypeAsString; +import static org.hibernate.processor.util.TypeUtils.findMappedSuperClass; +import static org.hibernate.processor.util.TypeUtils.getElementKindForAccessType; +import static org.hibernate.processor.xml.jaxb.AccessType.*; /** * Collects XML-based meta information about an annotated type (entity, embeddable or mapped superclass). @@ -612,7 +612,7 @@ public class XmlMetaEntity implements Metamodel { ); } - private ElementKind getElementKind(org.hibernate.jpamodelgen.xml.jaxb.AccessType accessType) { + private ElementKind getElementKind(org.hibernate.processor.xml.jaxb.AccessType accessType) { // if no explicit access type was specified in xml we use the entity access type if ( accessType == null ) { return getElementKindForAccessType( accessTypeInfo.getAccessType() ); diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaMap.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaMap.java similarity index 92% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaMap.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaMap.java index 1932063ad8..382db2f57f 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaMap.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaMap.java @@ -4,9 +4,9 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; -import org.hibernate.jpamodelgen.model.Metamodel; +import org.hibernate.processor.model.Metamodel; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaSingleAttribute.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaSingleAttribute.java similarity index 79% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaSingleAttribute.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaSingleAttribute.java index fbd239204d..5d402b9116 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/XmlMetaSingleAttribute.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/XmlMetaSingleAttribute.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; -import org.hibernate.jpamodelgen.model.MetaSingleAttribute; -import org.hibernate.jpamodelgen.util.Constants; +import org.hibernate.processor.model.MetaSingleAttribute; +import org.hibernate.processor.util.Constants; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/package-info.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/package-info.java similarity index 88% rename from tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/package-info.java rename to tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/package-info.java index c388be258e..8c3d68a80f 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/package-info.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/xml/package-info.java @@ -7,4 +7,4 @@ /** * Implementation of the model classes backed by annotations. */ -package org.hibernate.jpamodelgen.xml; +package org.hibernate.processor.xml; diff --git a/tooling/metamodel-generator/src/main/resources/META-INF/gradle/incremental.annotation.processors b/tooling/metamodel-generator/src/main/resources/META-INF/gradle/incremental.annotation.processors index f0dd3e60a8..a24a692da1 100644 --- a/tooling/metamodel-generator/src/main/resources/META-INF/gradle/incremental.annotation.processors +++ b/tooling/metamodel-generator/src/main/resources/META-INF/gradle/incremental.annotation.processors @@ -1 +1 @@ -org.hibernate.jpamodelgen.HibernateProcessor,isolating \ No newline at end of file +org.hibernate.processor.HibernateProcessor,isolating \ No newline at end of file diff --git a/tooling/metamodel-generator/src/main/resources/META-INF/services/javax.annotation.processing.Processor b/tooling/metamodel-generator/src/main/resources/META-INF/services/javax.annotation.processing.Processor index a9e441f77b..ac24d46ca1 100644 --- a/tooling/metamodel-generator/src/main/resources/META-INF/services/javax.annotation.processing.Processor +++ b/tooling/metamodel-generator/src/main/resources/META-INF/services/javax.annotation.processing.Processor @@ -10,4 +10,4 @@ # License: GNU Lesser General Public License (LGPL), version 2.1 or later. # See the lgpl.txt file in the root directory or . # -org.hibernate.jpamodelgen.HibernateProcessor \ No newline at end of file +org.hibernate.processor.HibernateProcessor \ No newline at end of file diff --git a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/BookRepositoryWithSession.java b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/BookRepositoryWithSession.java similarity index 89% rename from tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/BookRepositoryWithSession.java rename to tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/BookRepositoryWithSession.java index 108e3de615..35cfe09322 100644 --- a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/BookRepositoryWithSession.java +++ b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/BookRepositoryWithSession.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hrPanache; +package org.hibernate.processor.test.hrPanache; import java.util.List; diff --git a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/PanacheBook.java b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/PanacheBook.java similarity index 93% rename from tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/PanacheBook.java rename to tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/PanacheBook.java index a9ee6efe9d..534b0effa1 100644 --- a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/PanacheBook.java +++ b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/PanacheBook.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hrPanache; +package org.hibernate.processor.test.hrPanache; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/PanacheBookRepository.java b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/PanacheBookRepository.java similarity index 91% rename from tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/PanacheBookRepository.java rename to tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/PanacheBookRepository.java index 80e0b426f4..cb0f3658c5 100644 --- a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/PanacheBookRepository.java +++ b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/PanacheBookRepository.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hrPanache; +package org.hibernate.processor.test.hrPanache; import java.util.List; diff --git a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/QuarkusBookRepository.java b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/QuarkusBookRepository.java similarity index 91% rename from tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/QuarkusBookRepository.java rename to tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/QuarkusBookRepository.java index 5130ef03ce..175d07b796 100644 --- a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/QuarkusBookRepository.java +++ b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/QuarkusBookRepository.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hrPanache; +package org.hibernate.processor.test.hrPanache; import java.util.List; diff --git a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/QuarkusHrPanacheTest.java b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/QuarkusHrPanacheTest.java similarity index 94% rename from tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/QuarkusHrPanacheTest.java rename to tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/QuarkusHrPanacheTest.java index 6ed1025da8..aad0dc58da 100644 --- a/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/jpamodelgen/test/hrPanache/QuarkusHrPanacheTest.java +++ b/tooling/metamodel-generator/src/quarkusHrPanache/java/org/hibernate/processor/test/hrPanache/QuarkusHrPanacheTest.java @@ -4,19 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.hrPanache; +package org.hibernate.processor.test.hrPanache; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; import org.junit.jupiter.api.Assertions; import io.smallrye.mutiny.Uni; -import jakarta.inject.Inject; -import jakarta.persistence.EntityManager; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetamodelClassFor; +import static org.hibernate.processor.test.util.TestUtil.getMetamodelClassFor; import java.lang.reflect.Constructor; import java.lang.reflect.Method; diff --git a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/PanacheBook.java b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/PanacheBook.java similarity index 92% rename from tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/PanacheBook.java rename to tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/PanacheBook.java index fa24dc3e7e..070675d3e9 100644 --- a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/PanacheBook.java +++ b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/PanacheBook.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.ormPanache; +package org.hibernate.processor.test.ormPanache; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/PanacheBookRepository.java b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/PanacheBookRepository.java similarity index 90% rename from tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/PanacheBookRepository.java rename to tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/PanacheBookRepository.java index f420728306..85e332daa4 100644 --- a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/PanacheBookRepository.java +++ b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/PanacheBookRepository.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.ormPanache; +package org.hibernate.processor.test.ormPanache; import java.util.List; diff --git a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/QuarkusBookRepository.java b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/QuarkusBookRepository.java similarity index 85% rename from tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/QuarkusBookRepository.java rename to tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/QuarkusBookRepository.java index 7ee1ee93af..8787c8cad5 100644 --- a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/QuarkusBookRepository.java +++ b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/QuarkusBookRepository.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.ormPanache; +package org.hibernate.processor.test.ormPanache; import java.util.List; diff --git a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/QuarkusOrmPanacheTest.java b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/QuarkusOrmPanacheTest.java similarity index 93% rename from tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/QuarkusOrmPanacheTest.java rename to tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/QuarkusOrmPanacheTest.java index 7894c069de..6da68e67fe 100644 --- a/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/jpamodelgen/test/ormPanache/QuarkusOrmPanacheTest.java +++ b/tooling/metamodel-generator/src/quarkusOrmPanache/java/org/hibernate/processor/test/ormPanache/QuarkusOrmPanacheTest.java @@ -4,18 +4,18 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.ormPanache; +package org.hibernate.processor.test.ormPanache; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; import org.junit.jupiter.api.Assertions; import jakarta.inject.Inject; import jakarta.persistence.EntityManager; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetamodelClassFor; +import static org.hibernate.processor.test.util.TestUtil.getMetamodelClassFor; import java.lang.reflect.Constructor; import java.lang.reflect.Method; diff --git a/tooling/metamodel-generator/src/test/java/DefaultPackageTest.java b/tooling/metamodel-generator/src/test/java/DefaultPackageTest.java index 7aa603cfd6..034d94b560 100644 --- a/tooling/metamodel-generator/src/test/java/DefaultPackageTest.java +++ b/tooling/metamodel-generator/src/test/java/DefaultPackageTest.java @@ -7,12 +7,12 @@ -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Type.java b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Type.java deleted file mode 100644 index 3086a051f1..0000000000 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Type.java +++ /dev/null @@ -1,3 +0,0 @@ -package org.hibernate.jpamodelgen.test.namedquery; - -enum Type {Book, Magazine, Journal} diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/StringUtilTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/StringUtilTest.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/StringUtilTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/StringUtilTest.java index 383748162d..56e7d6f2a7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/StringUtilTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/StringUtilTest.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test; +package org.hibernate.processor.test; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.util.StringUtil; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.util.StringUtil; import org.junit.Test; import static org.junit.Assert.assertEquals; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/AccessTypeTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/AccessTypeTest.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/AccessTypeTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/AccessTypeTest.java index adff0698ff..528b4ccd29 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/AccessTypeTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/AccessTypeTest.java @@ -4,18 +4,18 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Emmanuel Bernard diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Address.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Address.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Address.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Address.java index 0eee5ea043..0d2b0c61d9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Address.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Address.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import java.util.Set; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Area.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Area.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Area.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Area.java index 3d0a05798c..33a62464f9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Area.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Area.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Building.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Building.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Building.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Building.java index cd86e499cd..2f0e92c0ca 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Building.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Building.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Country.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Country.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Country.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Country.java index b06016101d..03954950eb 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Country.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Country.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Customer.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Customer.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Customer.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Customer.java index 48ef205625..90f98d5e6e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Customer.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Customer.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import java.util.Set; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Detail.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Detail.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Detail.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Detail.java index 77b055323b..f005014d94 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Detail.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Detail.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Hominidae.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Hominidae.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Hominidae.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Hominidae.java index 723745b29c..12be289bef 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Hominidae.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Hominidae.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; import jakarta.persistence.Access; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Hotel.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Hotel.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Hotel.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Hotel.java index 7651a23269..bee97f373e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Hotel.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Hotel.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Embeddable; import jakarta.persistence.OneToOne; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/HotelRoom.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/HotelRoom.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/HotelRoom.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/HotelRoom.java index a63a1952a4..aa4b042a55 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/HotelRoom.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/HotelRoom.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Embedded; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/House.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/House.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/House.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/House.java index e8fb80ca5e..064576e889 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/House.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/House.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Human.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Human.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Human.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Human.java index 0e319f27a0..aeb35e95a4 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Human.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Human.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Inhabitant.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Inhabitant.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Inhabitant.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Inhabitant.java index b0b98a7c0a..d6d5bd8765 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Inhabitant.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Inhabitant.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import java.util.Set; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Item.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Item.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Item.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Item.java index f8752311d7..900b8f8c6b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Item.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Item.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import java.util.Map; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/LivingBeing.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/LivingBeing.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/LivingBeing.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/LivingBeing.java index 72a00075bf..53f3e6adce 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/LivingBeing.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/LivingBeing.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.MappedSuperclass; import jakarta.persistence.Access; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Mammals.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Mammals.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Mammals.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Mammals.java index 6f00194d8a..65eaa117f5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Mammals.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Mammals.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Order.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Order.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Order.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Order.java index 9ef705f149..cb183881c6 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Order.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Order.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import java.util.Date; import java.util.List; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Pet.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Pet.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Pet.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Pet.java index 4273ed1985..d92669bac6 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Pet.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Pet.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Product.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Product.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Product.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Product.java index 4484398394..d568f3690e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Product.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Product.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import java.math.BigDecimal; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Room.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Room.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Room.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Room.java index fa1d2136d1..ef46535587 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Room.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Room.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Shop.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Shop.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Shop.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Shop.java index 36b817e789..6f91a15ed3 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/Shop.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/Shop.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/User.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/User.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/User.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/User.java index a7afb6af1c..ca10113499 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/accesstype/User.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/accesstype/User.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.accesstype; +package org.hibernate.processor.test.accesstype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/annotationtype/AnnotationTypeTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/annotationtype/AnnotationTypeTest.java similarity index 63% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/annotationtype/AnnotationTypeTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/annotationtype/AnnotationTypeTest.java index 599699b72a..c2a04a8823 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/annotationtype/AnnotationTypeTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/annotationtype/AnnotationTypeTest.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.annotationtype; +package org.hibernate.processor.test.annotationtype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; /** diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/annotationtype/Entity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/annotationtype/Entity.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/annotationtype/Entity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/annotationtype/Entity.java index d6a0cfab9e..7cd0f3dd44 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/annotationtype/Entity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/annotationtype/Entity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.annotationtype; +package org.hibernate.processor.test.annotationtype; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/ArrayTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/ArrayTest.java similarity index 71% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/ArrayTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/ArrayTest.java index 93919d8247..470352b59f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/ArrayTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/ArrayTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.arraytype; +package org.hibernate.processor.test.arraytype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/ArrayTestWithTypeUseTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/ArrayTestWithTypeUseTest.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/ArrayTestWithTypeUseTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/ArrayTestWithTypeUseTest.java index a03dbc077f..be970678b0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/ArrayTestWithTypeUseTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/ArrayTestWithTypeUseTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.arraytype; +package org.hibernate.processor.test.arraytype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/Image.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/Image.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/Image.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/Image.java index 5dd03a3717..a2956975b9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/Image.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/Image.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.arraytype; +package org.hibernate.processor.test.arraytype; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/TemperatureSamples.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/TemperatureSamples.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/TemperatureSamples.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/TemperatureSamples.java index 2110d56720..de1123a685 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/TemperatureSamples.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/TemperatureSamples.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.arraytype; +package org.hibernate.processor.test.arraytype; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/TestEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/TestEntity.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/TestEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/TestEntity.java index 74c5f37b19..431c49eb7f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/arraytype/TestEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/arraytype/TestEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.arraytype; +package org.hibernate.processor.test.arraytype; import java.lang.annotation.Retention; import java.lang.annotation.Target; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/blob/BlobEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/blob/BlobEntity.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/blob/BlobEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/blob/BlobEntity.java index 5c425f082d..df983842a2 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/blob/BlobEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/blob/BlobEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.blob; +package org.hibernate.processor.test.blob; import java.sql.Blob; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/blob/BlobTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/blob/BlobTest.java similarity index 60% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/blob/BlobTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/blob/BlobTest.java index 973a92e8e0..c4c791d0a4 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/blob/BlobTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/blob/BlobTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.blob; +package org.hibernate.processor.test.blob; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/CircularTypeVariableTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/CircularTypeVariableTest.java similarity index 69% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/CircularTypeVariableTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/CircularTypeVariableTest.java index 51b510ad30..f534c0f64b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/CircularTypeVariableTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/CircularTypeVariableTest.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.circulartypevariable; +package org.hibernate.processor.test.circulartypevariable; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/RoleAccess.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/RoleAccess.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/RoleAccess.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/RoleAccess.java index 748921dbaa..c52b5da5b6 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/RoleAccess.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/RoleAccess.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.circulartypevariable; +package org.hibernate.processor.test.circulartypevariable; import org.hibernate.annotations.Immutable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/User.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/User.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/User.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/User.java index cd1612cbd5..4c45a28c09 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/circulartypevariable/User.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/circulartypevariable/User.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.circulartypevariable; +package org.hibernate.processor.test.circulartypevariable; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CollectionAsBasicTypeTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CollectionAsBasicTypeTest.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CollectionAsBasicTypeTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CollectionAsBasicTypeTest.java index 5fd388e6ea..ceecd5ea90 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CollectionAsBasicTypeTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CollectionAsBasicTypeTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertListAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertListAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author helloztt diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringMapJavaType.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringMapJavaType.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringMapJavaType.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringMapJavaType.java index f020cac02b..9a51a91c92 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringMapJavaType.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringMapJavaType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.util.HashMap; import java.util.Map; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsJavaType.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsJavaType.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsJavaType.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsJavaType.java index 3bbcd53b39..2867f1d9ef 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsJavaType.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsJavaType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.util.ArrayList; import java.util.Collections; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsMapType.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsMapType.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsMapType.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsMapType.java index f2029d5c9d..8ffd566c98 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsMapType.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsMapType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.sql.PreparedStatement; import java.sql.ResultSet; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsType.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsType.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsType.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsType.java index 04532b501e..88c341a74b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/CommaDelimitedStringsType.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.sql.Types; import java.util.List; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ConcreteLike.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ConcreteLike.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ConcreteLike.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ConcreteLike.java index 131a1f2764..10bfc079bc 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ConcreteLike.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ConcreteLike.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ElementCollectionWithConverterTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ElementCollectionWithConverterTest.java similarity index 69% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ElementCollectionWithConverterTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ElementCollectionWithConverterTest.java index c1e012e9b5..2d977cdebf 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ElementCollectionWithConverterTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ElementCollectionWithConverterTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertListAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMapAttributesInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertSetAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertListAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMapAttributesInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertSetAttributeTypeInMetaModelFor; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/EnumHolder.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/EnumHolder.java similarity index 69% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/EnumHolder.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/EnumHolder.java index 1e85ea4f8d..88f44ccf50 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/EnumHolder.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/EnumHolder.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Goods.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Goods.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Goods.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Goods.java index c41bfc54b4..1dd7854607 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Goods.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Goods.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Convert; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Item.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Item.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Item.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Item.java index 4c41091020..8e85ad795f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Item.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Item.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.util.ArrayList; import java.util.HashMap; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ItemRoleConverter.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ItemRoleConverter.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ItemRoleConverter.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ItemRoleConverter.java index d33b7e0ff3..234a462e81 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/ItemRoleConverter.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/ItemRoleConverter.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.AttributeConverter; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Like.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Like.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Like.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Like.java index c81dac503e..600c71203f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Like.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Like.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Person.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Person.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Person.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Person.java index 8b39c2276a..c85f324d5e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Person.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Person.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.util.ArrayList; import java.util.List; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/PersonPhone.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/PersonPhone.java similarity index 77% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/PersonPhone.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/PersonPhone.java index 3f24742fa9..7894cd70b3 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/PersonPhone.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/PersonPhone.java @@ -1,10 +1,10 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.util.ArrayList; import java.util.List; import org.hibernate.annotations.Type; -import org.hibernate.jpamodelgen.test.collectionbasictype.extras.Phone; +import org.hibernate.processor.test.collectionbasictype.extras.Phone; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/PhoneBook.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/PhoneBook.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/PhoneBook.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/PhoneBook.java index 48f31ab515..f58df63057 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/PhoneBook.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/PhoneBook.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import java.util.HashMap; import java.util.Map; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Product.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Product.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Product.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Product.java index 5a86df5abd..8b41aaf3da 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Product.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Product.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Role.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Role.java similarity index 84% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Role.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Role.java index 63c2273b34..e1580eaeee 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/Role.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/Role.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/RoleExternal.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/RoleExternal.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/RoleExternal.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/RoleExternal.java index d105bd9296..0f2befe053 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/RoleExternal.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/RoleExternal.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/RoleInternal.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/RoleInternal.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/RoleInternal.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/RoleInternal.java index b9039cf38a..b17b4db4c5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/RoleInternal.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/RoleInternal.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/StringToListConverter.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/StringToListConverter.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/StringToListConverter.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/StringToListConverter.java index dce2d3d958..0678f24109 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/StringToListConverter.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/StringToListConverter.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.AttributeConverter; import java.util.Arrays; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/StringToUppercaseConverter.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/StringToUppercaseConverter.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/StringToUppercaseConverter.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/StringToUppercaseConverter.java index 5c478c2375..3352ca9fba 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/StringToUppercaseConverter.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/StringToUppercaseConverter.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.collectionbasictype; +package org.hibernate.processor.test.collectionbasictype; import jakarta.persistence.AttributeConverter; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/extras/Phone.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/extras/Phone.java similarity index 81% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/extras/Phone.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/extras/Phone.java index ad0f4b393e..e5f5eb01e9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/collectionbasictype/extras/Phone.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/extras/Phone.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.collectionbasictype.extras; +package org.hibernate.processor.test.collectionbasictype.extras; import java.io.Serializable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java index f67485abac..e852e6ca5d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java index 7c741f4de7..a6e06da483 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java index 82ecf32166..d67e808f4b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java index d2e6476b0a..2cb82cf898 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java index ba8e7f9c2d..d7955f9228 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java index f2a726d2ee..7719655b8c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java index 6143e88f15..eb69db0db1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java index daf38e452f..2f96b440ca 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityWithInstanceGetEntityManager.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityWithInstanceGetEntityManager.java index 9667d7faa8..c014a08b4b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; import jakarta.persistence.EntityManager; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityWithStaticGetEntityManager.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityWithStaticGetEntityManager.java index 06ab0e86dd..0288b664a8 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/EntityWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Entity; import jakarta.persistence.EntityManager; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java index bc5f585451..a893b86ae4 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java index 81710ed28c..cc7bcc0538 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java index c934fba7f0..99ae87468c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassWithStaticGetEntityManager.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassWithStaticGetEntityManager.java index 4e7b837355..5bf2f8abda 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/MapperSuperClassWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.EntityManager; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithInstanceGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/NonEntityWithInstanceGetEntityManager.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithInstanceGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/NonEntityWithInstanceGetEntityManager.java index 7385e00488..0536577111 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithInstanceGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/NonEntityWithInstanceGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.Transient; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithStaticGetEntityManager.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/NonEntityWithStaticGetEntityManager.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithStaticGetEntityManager.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/NonEntityWithStaticGetEntityManager.java index 72c88e7dac..2fad02893f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithStaticGetEntityManager.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/NonEntityWithStaticGetEntityManager.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; import jakarta.persistence.EntityManager; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/SuperClassWithGetEntityManagerTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/SuperClassWithGetEntityManagerTest.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/SuperClassWithGetEntityManagerTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/SuperClassWithGetEntityManagerTest.java index 1c1a490894..4033c808c3 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/SuperClassWithGetEntityManagerTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/constructor/SuperClassWithGetEntityManagerTest.java @@ -4,15 +4,15 @@ * 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.jpamodelgen.test.constructor; +package org.hibernate.processor.test.constructor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAbsenceOfNonDefaultConstructorInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertAbsenceOfNonDefaultConstructorInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Bean.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Bean.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Bean.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Bean.java index 6ed5770f77..710122ea98 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Bean.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Bean.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.dao; +package org.hibernate.processor.test.dao; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Book.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Book.java similarity index 85% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Book.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Book.java index 94dca88825..5f38f0af63 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Book.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Book.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.dao; +package org.hibernate.processor.test.dao; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Dao.java similarity index 98% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Dao.java index 4552da1d80..d2b081730a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/Dao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/Dao.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.dao; +package org.hibernate.processor.test.dao; import jakarta.persistence.EntityManager; import jakarta.persistence.TypedQuery; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/DaoTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/DaoTest.java similarity index 75% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/DaoTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/DaoTest.java index 09c8fc4db1..93b0520fee 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/DaoTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/DaoTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.dao; +package org.hibernate.processor.test.dao; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/StatefulDao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/StatefulDao.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/StatefulDao.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/StatefulDao.java index eb4b9f0d72..2937591140 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/StatefulDao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/StatefulDao.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.dao; +package org.hibernate.processor.test.dao; import jakarta.persistence.TypedQuery; import org.hibernate.Session; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/StatelessDao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/StatelessDao.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/StatelessDao.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/StatelessDao.java index 64d5320288..d31f31733d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/dao/StatelessDao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/dao/StatelessDao.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.dao; +package org.hibernate.processor.test.dao; import jakarta.persistence.TypedQuery; import org.hibernate.StatelessSession; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Cleaner.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Cleaner.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Cleaner.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Cleaner.java index 761ca9e105..881ed20635 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Cleaner.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Cleaner.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/ElementCollectionTest.java similarity index 77% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/ElementCollectionTest.java index e3b1c6a5bb..08a0cdb817 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/ElementCollectionTest.java @@ -4,19 +4,19 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertListAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMapAttributesInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertNoSourceFileGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertListAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMapAttributesInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertNoSourceFileGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTypeUseTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/ElementCollectionTypeUseTest.java similarity index 79% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTypeUseTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/ElementCollectionTypeUseTest.java index e532371aeb..990bc2f0f8 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTypeUseTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/ElementCollectionTypeUseTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.*; +import static org.hibernate.processor.test.util.TestUtil.*; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Homework.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Homework.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Homework.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Homework.java index 590deb38e9..d21b0d26aa 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Homework.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Homework.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.util.List; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Hostel.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Hostel.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Hostel.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Hostel.java index d408620303..2229a0b4c5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Hostel.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Hostel.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.util.Map; import jakarta.persistence.ElementCollection; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Hotel.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Hotel.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Hotel.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Hotel.java index e535e50f05..ee1e3f6a91 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Hotel.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Hotel.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.util.Map; import jakarta.persistence.ElementCollection; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/House.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/House.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/House.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/House.java index 232b60fbd3..7534438b15 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/House.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/House.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.util.Map; import jakarta.persistence.ElementCollection; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuilding.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/OfficeBuilding.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuilding.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/OfficeBuilding.java index ec323f6849..63b09d1eba 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuilding.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/OfficeBuilding.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.util.Map; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuildingValidated.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/OfficeBuildingValidated.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuildingValidated.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/OfficeBuildingValidated.java index 854f231a66..58cb73de8a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuildingValidated.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/OfficeBuildingValidated.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Room.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Room.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Room.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Room.java index ea3905c3b5..650957dcec 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Room.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/elementcollection/Room.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.elementcollection; +package org.hibernate.processor.test.elementcollection; import java.math.BigDecimal; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/Base.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/Base.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/Base.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/Base.java index 281acdc713..db155f7be8 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/Base.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/Base.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableAccessTypeTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableAccessTypeTest.java similarity index 72% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableAccessTypeTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableAccessTypeTest.java index 578b2dca12..8e73ab0731 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableAccessTypeTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableAccessTypeTest.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableEntity.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableEntity.java index 79ed06ea64..2f6a4fd9e6 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; import java.util.HashSet; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableTypeUseTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableTypeUseTest.java similarity index 62% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableTypeUseTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableTypeUseTest.java index 43c1cd008e..4941876316 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/EmbeddableTypeUseTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/EmbeddableTypeUseTest.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/IStuff.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/IStuff.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/IStuff.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/IStuff.java index ee7894ea93..4f0cdab2fb 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/IStuff.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/IStuff.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; public interface IStuff { } diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/MyEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/MyEntity.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/MyEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/MyEntity.java index df4b532061..1e406d9eb9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/MyEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/MyEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; import jakarta.persistence.Embedded; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/SimpleEmbeddable.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/SimpleEmbeddable.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/SimpleEmbeddable.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/SimpleEmbeddable.java index d5d0e27345..315785a5cc 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/SimpleEmbeddable.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/SimpleEmbeddable.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; import java.io.Serializable; import java.util.Objects; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/SimpleEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/SimpleEntity.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/SimpleEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/SimpleEntity.java index cdc1bc4952..edc6ed5ef2 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/SimpleEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/SimpleEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/Stuff.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/Stuff.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/Stuff.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/Stuff.java index 4319f6ac16..e423fcfde3 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/Stuff.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/Stuff.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable; +package org.hibernate.processor.test.embeddable; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/ChildEmbeddable.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/ChildEmbeddable.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/ChildEmbeddable.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/ChildEmbeddable.java index 1910d5a85c..d9b486701c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/ChildEmbeddable.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/ChildEmbeddable.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable.generics; +package org.hibernate.processor.test.embeddable.generics; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/EmbeddableGenericsTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/EmbeddableGenericsTest.java similarity index 78% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/EmbeddableGenericsTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/EmbeddableGenericsTest.java index 8a32c2b077..8f7b5fddb8 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/EmbeddableGenericsTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/EmbeddableGenericsTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable.generics; +package org.hibernate.processor.test.embeddable.generics; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; import static java.lang.System.out; -import static org.hibernate.jpamodelgen.test.util.TestUtil.*; +import static org.hibernate.processor.test.util.TestUtil.*; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/MyTypeImpl.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/MyTypeImpl.java similarity index 84% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/MyTypeImpl.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/MyTypeImpl.java index 87e0c373e1..2abb8b44d6 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/MyTypeImpl.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/MyTypeImpl.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable.generics; +package org.hibernate.processor.test.embeddable.generics; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/MyTypeInterface.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/MyTypeInterface.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/MyTypeInterface.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/MyTypeInterface.java index b2ea67cf56..b918373017 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/MyTypeInterface.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/MyTypeInterface.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable.generics; +package org.hibernate.processor.test.embeddable.generics; /** * @author Chris Cranford diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/ParentEmbeddable.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/ParentEmbeddable.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/ParentEmbeddable.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/ParentEmbeddable.java index 6eb19a5cf7..12db121ec7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/ParentEmbeddable.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddable/generics/ParentEmbeddable.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddable.generics; +package org.hibernate.processor.test.embeddable.generics; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/AbstractRef.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/AbstractRef.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/AbstractRef.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/AbstractRef.java index 86953d341c..ec28e0705a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/AbstractRef.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/AbstractRef.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withinheritance; +package org.hibernate.processor.test.embeddedid.withinheritance; import java.io.Serializable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java similarity index 61% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java index 4786ab5d2d..f9e31f6959 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/EmbeddedIdWithInheritanceTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withinheritance; +package org.hibernate.processor.test.embeddedid.withinheritance; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/Ref.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/Ref.java similarity index 84% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/Ref.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/Ref.java index 7f4b15e41f..960244aa10 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/Ref.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/Ref.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withinheritance; +package org.hibernate.processor.test.embeddedid.withinheritance; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/TestEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/TestEntity.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/TestEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/TestEntity.java index 732950c74a..dbba53d1da 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/TestEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withinheritance/TestEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withinheritance; +package org.hibernate.processor.test.embeddedid.withinheritance; import java.io.Serializable; import jakarta.persistence.Column; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java similarity index 70% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java index 5152b866ee..d951e77f73 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/EmbeddedIdNoInheritanceTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withoutinheritance; +package org.hibernate.processor.test.embeddedid.withoutinheritance; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/Person.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/Person.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/Person.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/Person.java index 8a18803946..2730c6ac43 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/Person.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/Person.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withoutinheritance; +package org.hibernate.processor.test.embeddedid.withoutinheritance; import jakarta.persistence.EmbeddedId; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/PersonId.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/PersonId.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/PersonId.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/PersonId.java index 75b13ed9ca..7c261fd884 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/PersonId.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/PersonId.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withoutinheritance; +package org.hibernate.processor.test.embeddedid.withoutinheritance; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/XmlPerson.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/XmlPerson.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/XmlPerson.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/XmlPerson.java index 39b158e1c4..cad2f2256a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/XmlPerson.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/embeddedid/withoutinheritance/XmlPerson.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.embeddedid.withoutinheritance; +package org.hibernate.processor.test.embeddedid.withoutinheritance; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Address.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Address.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Address.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Address.java index 048e3846b7..7bc8c6a866 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Address.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Address.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Alias.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Alias.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Alias.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Alias.java index 237afd4d6f..3f424b0d0d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Alias.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Alias.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Article.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Article.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Article.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Article.java index dcb4d2b67a..479a476165 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Article.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Article.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/BaseEmbeddedEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/BaseEmbeddedEntity.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/BaseEmbeddedEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/BaseEmbeddedEntity.java index 55f93b1843..81caa71fd7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/BaseEmbeddedEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/BaseEmbeddedEntity.java @@ -5,7 +5,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.EmbeddedId; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/CoreTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/CoreTest.java similarity index 80% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/CoreTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/CoreTest.java index b99ae4e4c9..227cad1053 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/CoreTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/CoreTest.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Country.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Country.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Country.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Country.java index 42a9254b2f..d782f1b553 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Country.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Country.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Basic; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/CreditCard.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/CreditCard.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/CreditCard.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/CreditCard.java index fce388a4c1..c35874e4e0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/CreditCard.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/CreditCard.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Customer.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Customer.java similarity index 98% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Customer.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Customer.java index 2f8873431b..87d585ea46 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Customer.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Customer.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity1.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity1.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity1.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity1.java index e7708f4ea0..5531e5bf5f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity1.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity1.java @@ -21,7 +21,7 @@ * 51 Franklin Street, Fifth Floor * Boston, MA 02110-1301 USA */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity2.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity2.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity2.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity2.java index 2ef3da0277..b177a24475 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity2.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity2.java @@ -21,7 +21,7 @@ * 51 Franklin Street, Fifth Floor * Boston, MA 02110-1301 USA */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity3.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity3.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity3.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity3.java index 1b7967d7be..8bc24182e0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Entity3.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Entity3.java @@ -21,7 +21,7 @@ * 51 Franklin Street, Fifth Floor * Boston, MA 02110-1301 USA */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Info.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Info.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Info.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Info.java index f1653b7e53..0c8d7aaa1e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Info.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Info.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/LineItem.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/LineItem.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/LineItem.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/LineItem.java index d642e14676..5c3fdf5159 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/LineItem.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/LineItem.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/MapEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/MapEntity.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/MapEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/MapEntity.java index 2f11092b54..ebf5707717 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/MapEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/MapEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/MapEntityLocal.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/MapEntityLocal.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/MapEntityLocal.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/MapEntityLocal.java index 46d2fda609..e97c64709e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/MapEntityLocal.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/MapEntityLocal.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Column; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Order.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Order.java similarity index 98% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Order.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Order.java index bcaff4a85a..c79ca34206 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Order.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Order.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Person.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Person.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Person.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Person.java index 0ea38d3393..0d5a870103 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Person.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Person.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/PersonId.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/PersonId.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/PersonId.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/PersonId.java index cae50beb10..65692e7fd6 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/PersonId.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/PersonId.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Phone.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Phone.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Phone.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Phone.java index ed65185a09..499fcafbed 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Phone.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Phone.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Product.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Product.java similarity index 98% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Product.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Product.java index fbede5b371..5931d54a83 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Product.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Product.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/ShelfLife.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/ShelfLife.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/ShelfLife.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/ShelfLife.java index 98d1917d3c..21d22f213c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/ShelfLife.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/ShelfLife.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Basic; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/SomeMappedSuperclass.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/SomeMappedSuperclass.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/SomeMappedSuperclass.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/SomeMappedSuperclass.java index 62d74412ef..2bbe03e1c8 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/SomeMappedSuperclass.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/SomeMappedSuperclass.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/SomeMappedSuperclassSubclass.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/SomeMappedSuperclassSubclass.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/SomeMappedSuperclassSubclass.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/SomeMappedSuperclassSubclass.java index ba06afc307..085cc9a4d0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/SomeMappedSuperclassSubclass.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/SomeMappedSuperclassSubclass.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Spouse.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Spouse.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Spouse.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Spouse.java index bfc69cb70e..ef4e2b9e2b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Spouse.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Spouse.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.*; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Thing.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Thing.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Thing.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Thing.java index 18db245b14..7e49c907c3 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Thing.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Thing.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/ThingWithQuantity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/ThingWithQuantity.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/ThingWithQuantity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/ThingWithQuantity.java index 8004a63fd5..99c5a1f83e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/ThingWithQuantity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/ThingWithQuantity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Translation.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Translation.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Translation.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Translation.java index be83552217..ea9b2c89b5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/Translation.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/Translation.java @@ -4,7 +4,7 @@ * 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.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/VersionedEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/VersionedEntity.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/VersionedEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/VersionedEntity.java index 8fcbd53f41..f9319a1afe 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/fromcore/VersionedEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/fromcore/VersionedEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.fromcore; +package org.hibernate.processor.test.fromcore; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/GeneratedAnnotationTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/GeneratedAnnotationTest.java similarity index 63% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/GeneratedAnnotationTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/GeneratedAnnotationTest.java index f159b22da8..643ef698f0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/GeneratedAnnotationTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/GeneratedAnnotationTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generatedannotation; +package org.hibernate.processor.test.generatedannotation; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertTrue; /** @@ -28,7 +28,7 @@ public class GeneratedAnnotationTest extends CompilationTest { // need to check the source because @Generated is not a runtime annotation String metaModelSource = getMetaModelSourceAsString( TestEntity.class ); - String generatedString = "@Generated(\"org.hibernate.jpamodelgen.HibernateProcessor\")"; + String generatedString = "@Generated(\"org.hibernate.processor.HibernateProcessor\")"; assertTrue( "@Generated should be added to the metamodel.", metaModelSource.contains( generatedString ) ); } } diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/GenerationDateTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/GenerationDateTest.java similarity index 57% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/GenerationDateTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/GenerationDateTest.java index 1081964168..5ccfccb93b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/GenerationDateTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/GenerationDateTest.java @@ -4,18 +4,18 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generatedannotation; +package org.hibernate.processor.test.generatedannotation; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.dumpMetaModelSourceFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.dumpMetaModelSourceFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertTrue; /** @@ -33,7 +33,7 @@ public class GenerationDateTest extends CompilationTest { String metaModelSource = getMetaModelSourceAsString( TestEntity.class ); dumpMetaModelSourceFor( TestEntity.class ); - String generatedString = "@Generated(value = \"org.hibernate.jpamodelgen.HibernateProcessor\", date = \""; + String generatedString = "@Generated(value = \"org.hibernate.processor.HibernateProcessor\", date = \""; assertTrue( "@Generated should also contain the date parameter.", metaModelSource.contains( generatedString ) ); } diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/SkipGeneratedAnnotationTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/SkipGeneratedAnnotationTest.java similarity index 64% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/SkipGeneratedAnnotationTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/SkipGeneratedAnnotationTest.java index 52491b19ae..0f28abe243 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/SkipGeneratedAnnotationTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/SkipGeneratedAnnotationTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generatedannotation; +package org.hibernate.processor.test.generatedannotation; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertFalse; /** diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/TestEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/TestEntity.java similarity index 87% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/TestEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/TestEntity.java index 0236b9eba7..d2f6498ca3 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generatedannotation/TestEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generatedannotation/TestEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generatedannotation; +package org.hibernate.processor.test.generatedannotation; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/Child.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/Child.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/Child.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/Child.java index 68de00558c..0e7a6becb1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/Child.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/Child.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generics; +package org.hibernate.processor.test.generics; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/GenericsTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/GenericsTest.java similarity index 67% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/GenericsTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/GenericsTest.java index 8ce9976d03..9de189d945 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/GenericsTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/GenericsTest.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generics; +package org.hibernate.processor.test.generics; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Emmanuel Bernard diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/Parent.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/Parent.java similarity index 97% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/Parent.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/Parent.java index be38da82e9..ad2f7b552a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generics/Parent.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generics/Parent.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generics; +package org.hibernate.processor.test.generics; import java.util.Set; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/Generic.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generictype/Generic.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/Generic.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generictype/Generic.java index 03b870696e..86376b5486 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/Generic.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generictype/Generic.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.generictype; +package org.hibernate.processor.test.generictype; import jakarta.persistence.*; import org.hibernate.annotations.ManyToAny; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/GenericEntityTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generictype/GenericEntityTest.java similarity index 62% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/GenericEntityTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generictype/GenericEntityTest.java index 35afce11e1..a7a621fe24 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/GenericEntityTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/generictype/GenericEntityTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.generictype; +package org.hibernate.processor.test.generictype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; import static java.lang.System.out; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hashcode/HashCodeTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hashcode/HashCodeTest.java similarity index 59% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hashcode/HashCodeTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hashcode/HashCodeTest.java index ec80a43e08..ec692966a9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hashcode/HashCodeTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hashcode/HashCodeTest.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.hashcode; +package org.hibernate.processor.test.hashcode; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hashcode/HashEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hashcode/HashEntity.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hashcode/HashEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hashcode/HashEntity.java index cae8fb9a05..8c0c90a56e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hashcode/HashEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hashcode/HashEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.hashcode; +package org.hibernate.processor.test.hashcode; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/ChildB.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/ChildB.java similarity index 70% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/ChildB.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/ChildB.java index bb7ef6f411..d20bfd8b36 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/ChildB.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/ChildB.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hhh17613; +package org.hibernate.processor.test.hhh17613; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/HHH17613Test.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/HHH17613Test.java similarity index 59% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/HHH17613Test.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/HHH17613Test.java index 36c004369e..b91f1c9316 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/HHH17613Test.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/HHH17613Test.java @@ -1,10 +1,10 @@ -package org.hibernate.jpamodelgen.test.hhh17613; +package org.hibernate.processor.test.hhh17613; -import org.hibernate.jpamodelgen.test.hhh17613.a.ChildA; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.hhh17613.a.ChildA; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/Parent.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/Parent.java similarity index 75% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/Parent.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/Parent.java index 2f04d9b48c..ae1a65e4e2 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/Parent.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/Parent.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hhh17613; +package org.hibernate.processor.test.hhh17613; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/a/ChildA.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/a/ChildA.java similarity index 64% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/a/ChildA.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/a/ChildA.java index bbea629e48..08a2880dcf 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17613/a/ChildA.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17613/a/ChildA.java @@ -1,10 +1,10 @@ -package org.hibernate.jpamodelgen.test.hhh17613.a; +package org.hibernate.processor.test.hhh17613.a; import java.util.HashSet; import java.util.Set; -import org.hibernate.jpamodelgen.test.hhh17613.ChildB; -import org.hibernate.jpamodelgen.test.hhh17613.Parent; +import org.hibernate.processor.test.hhh17613.ChildB; +import org.hibernate.processor.test.hhh17613.Parent; import jakarta.persistence.MappedSuperclass; import jakarta.persistence.OneToMany; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/Entity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/Entity.java similarity index 81% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/Entity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/Entity.java index 3627d15b13..5f9dff9c27 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/Entity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/Entity.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hhh17661; +package org.hibernate.processor.test.hhh17661; import jakarta.persistence.Id; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/HHH17661Test.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/HHH17661Test.java similarity index 63% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/HHH17661Test.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/HHH17661Test.java index 30655f88a4..1f86e9903a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/HHH17661Test.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/HHH17661Test.java @@ -1,9 +1,9 @@ -package org.hibernate.jpamodelgen.test.hhh17661; +package org.hibernate.processor.test.hhh17661; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; @TestForIssue(jiraKey = " HHH-17661") diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/Tree.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/Tree.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/Tree.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/Tree.java index e3e2110f48..a17b5aed71 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/Tree.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/Tree.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hhh17661; +package org.hibernate.processor.test.hhh17661; import jakarta.persistence.CascadeType; import jakarta.persistence.FetchType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/TreeRelation.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/TreeRelation.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/TreeRelation.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/TreeRelation.java index 4ec707ef17..949c20bf4e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hhh17661/TreeRelation.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hhh17661/TreeRelation.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hhh17661; +package org.hibernate.processor.test.hhh17661; import jakarta.persistence.ManyToOne; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Address.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Address.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Address.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Address.java index 00710551d7..4867ffd3fe 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Address.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Address.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Book.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Book.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Book.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Book.java index 4fab417fa3..c0b5f92c3f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Book.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Book.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Books.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Books.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Books.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Books.java index de5ee8618b..ce8607128d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Books.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Books.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; import jakarta.persistence.EntityManager; import jakarta.persistence.TypedQuery; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java index f7a3342ad8..e1efc74023 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dao.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; import jakarta.persistence.TypedQuery; import org.hibernate.annotations.processing.Find; @@ -55,7 +55,7 @@ public interface Dao { @HQL("select title, pages from Book") List dtoQuery(); - @HQL("select new org.hibernate.jpamodelgen.test.hqlsql.Dto(title, pages) from Book") + @HQL("select new org.hibernate.processor.test.hqlsql.Dto(title, pages) from Book") List dtoQuery1(); @HQL("select new Dto(title, pages) from Book") diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dto.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dto.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dto.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dto.java index 49e9d8d9cd..ce4aeea387 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dto.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Dto.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; import java.util.Objects; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Publisher.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Publisher.java similarity index 76% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Publisher.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Publisher.java index ce94fa8f78..25271928df 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Publisher.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/Publisher.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/QueryMethodTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/QueryMethodTest.java similarity index 71% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/QueryMethodTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/QueryMethodTest.java index e58b946244..fbddc11ed0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/QueryMethodTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlsql/QueryMethodTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.hqlsql; +package org.hibernate.processor.test.hqlsql; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Book.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Book.java similarity index 74% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Book.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Book.java index 318d8b39f3..82e3be9de5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Book.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Book.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlvalidation; +package org.hibernate.processor.test.hqlvalidation; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Dao1.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Dao1.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Dao1.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Dao1.java index 4e6d098160..d112f15423 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Dao1.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Dao1.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlvalidation; +package org.hibernate.processor.test.hqlvalidation; import jakarta.persistence.TypedQuery; import org.hibernate.annotations.processing.HQL; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Dao2.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Dao2.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Dao2.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Dao2.java index c7e924e454..4afb0426dc 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/Dao2.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/Dao2.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.hqlvalidation; +package org.hibernate.processor.test.hqlvalidation; import jakarta.persistence.TypedQuery; import org.hibernate.annotations.processing.HQL; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/ValidationTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/ValidationTest.java similarity index 70% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/ValidationTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/ValidationTest.java index 4aec8003d6..3473c90180 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlvalidation/ValidationTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/hqlvalidation/ValidationTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.hqlvalidation; +package org.hibernate.processor.test.hqlvalidation; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.IgnoreCompilationErrors; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.IgnoreCompilationErrors; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertNoMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertNoMetamodelClassGeneratedFor; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/AbstractEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/AbstractEntity.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/AbstractEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/AbstractEntity.java index e990ef1a6b..20ed76607b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/AbstractEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/AbstractEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import jakarta.persistence.GeneratedValue; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Area.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Area.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Area.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Area.java index 0759a322f9..e3f8b7b34a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Area.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Area.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Building.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Building.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Building.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Building.java index 4979dacac7..f722ca9161 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Building.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Building.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import java.sql.Date; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Customer.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Customer.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Customer.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Customer.java index 012ccda16a..9c2073e58e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Customer.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Customer.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/House.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/House.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/House.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/House.java index 11f64f27e3..91c5a162e7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/House.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/House.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/InheritanceTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/InheritanceTest.java similarity index 75% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/InheritanceTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/InheritanceTest.java index f7916b177a..b2d2432f0c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/InheritanceTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/InheritanceTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertSuperClassRelationShipInMetamodel; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertSuperClassRelationShipInMetamodel; /** * @author Emmanuel Bernard diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Person.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Person.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Person.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Person.java index 876f807365..a97ccbc3cf 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/Person.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/Person.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/User.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/User.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/User.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/User.java index 3cc81edb3f..77bcd0ee23 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/basic/User.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/basic/User.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.basic; +package org.hibernate.processor.test.inheritance.basic; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/DeepInheritanceTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/DeepInheritanceTest.java similarity index 64% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/DeepInheritanceTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/DeepInheritanceTest.java index 9a8b18858a..9df8bf2e4c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/DeepInheritanceTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/DeepInheritanceTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.deep; +package org.hibernate.processor.test.inheritance.deep; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * Tests a deep class hierarchy mixed with inheritance and a root class that diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/JetPlane.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/JetPlane.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/JetPlane.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/JetPlane.java index 7015071ff1..4439343f46 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/JetPlane.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/JetPlane.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.deep; +package org.hibernate.processor.test.inheritance.deep; import jakarta.persistence.Basic; import jakarta.persistence.DiscriminatorValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/PersistenceBase.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/PersistenceBase.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/PersistenceBase.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/PersistenceBase.java index 7f3fdf8461..54f27b755f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/PersistenceBase.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/PersistenceBase.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.deep; +package org.hibernate.processor.test.inheritance.deep; import java.util.Date; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/Plane.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/Plane.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/Plane.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/Plane.java index 97ce308071..16197214c5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/deep/Plane.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/deep/Plane.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.deep; +package org.hibernate.processor.test.inheritance.deep; import jakarta.persistence.DiscriminatorColumn; import jakarta.persistence.DiscriminatorType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/BaseEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/BaseEntity.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/BaseEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/BaseEntity.java index 03e7ea5045..f85c149622 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/BaseEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/BaseEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/MappedBase.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/MappedBase.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/MappedBase.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/MappedBase.java index ed42cb7f78..5e6b09f01d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/MappedBase.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/MappedBase.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; import java.util.Date; import jakarta.persistence.Access; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java index 42a817e8be..0dd86a9db0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/NormalExtendsEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; public class NormalExtendsEntity extends BaseEntity { public String doSomething(String s) { diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java index 2c9acb2904..27f90a197b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/NormalExtendsMapped.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; public class NormalExtendsMapped extends MappedBase { public String doSomething(String s) { diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/SubA.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/SubA.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/SubA.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/SubA.java index 057fb6d256..aab2d6289e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/SubA.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/SubA.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/SubB.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/SubB.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/SubB.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/SubB.java index 93e9ae333e..a4fd6bce84 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/SubB.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/SubB.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java similarity index 72% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java index e6b96da306..45dd87c8ca 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/inheritance/unmappedclassinhierarchy/UnmappedClassInHierarchyTest.java @@ -4,13 +4,13 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.inheritance.unmappedclassinhierarchy; +package org.hibernate.processor.test.inheritance.unmappedclassinhierarchy; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertSuperClassRelationShipInMetamodel; +import static org.hibernate.processor.test.util.TestUtil.assertSuperClassRelationShipInMetamodel; /** * @author Emmanuel Bernard diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/keypage/Book.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/keypage/Book.java similarity index 81% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/keypage/Book.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/keypage/Book.java index db2019c60b..9ccc4594dd 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/keypage/Book.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/keypage/Book.java @@ -1,10 +1,10 @@ -package org.hibernate.jpamodelgen.test.keypage; +package org.hibernate.processor.test.keypage; import jakarta.persistence.Entity; import jakarta.persistence.Id; import jakarta.persistence.ManyToOne; import org.hibernate.annotations.NaturalId; -import org.hibernate.jpamodelgen.test.hqlsql.Publisher; +import org.hibernate.processor.test.hqlsql.Publisher; import java.math.BigDecimal; import java.time.LocalDate; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/keypage/Dao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/keypage/Dao.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/keypage/Dao.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/keypage/Dao.java index 35dcfc292c..f67fef4a7a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/keypage/Dao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/keypage/Dao.java @@ -1,9 +1,9 @@ -package org.hibernate.jpamodelgen.test.keypage; +package org.hibernate.processor.test.keypage; import jakarta.persistence.EntityManager; import org.hibernate.annotations.processing.Find; import org.hibernate.annotations.processing.HQL; -import org.hibernate.jpamodelgen.test.hqlsql.Book; +import org.hibernate.processor.test.hqlsql.Book; import org.hibernate.query.KeyedPage; import org.hibernate.query.KeyedResultList; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java index 6e7f7c55f0..9e68500480 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableAndMappedSuperClass.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.embeddablemappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.embeddablemappedsuperclass; import jakarta.persistence.Embeddable; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java similarity index 62% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java index 428fd5a8d5..526a7cd650 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/embeddablemappedsuperclass/EmbeddableMappedSuperClassTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.embeddablemappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.embeddablemappedsuperclass; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java index 0cf3053789..9bdec57bc5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/ConcreteProduct.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.mappedsuperclasswithoutid; +package org.hibernate.processor.test.mappedsuperclass.mappedsuperclasswithoutid; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java similarity index 66% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java index dc8ff904b0..3cf87a1bbf 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/MappedSuperclassWithoutExplicitIdTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.mappedsuperclasswithoutid; +package org.hibernate.processor.test.mappedsuperclass.mappedsuperclasswithoutid; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java similarity index 75% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java index 215e3ff813..5c8cacac93 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/Product.java @@ -4,12 +4,12 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.mappedsuperclasswithoutid; +package org.hibernate.processor.test.mappedsuperclass.mappedsuperclasswithoutid; import jakarta.persistence.ManyToOne; import jakarta.persistence.MappedSuperclass; -import org.hibernate.jpamodelgen.test.accesstype.Shop; +import org.hibernate.processor.test.accesstype.Shop; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java index 611ce8f10b..ff87f4ff62 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/mappedsuperclasswithoutid/Shop.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.mappedsuperclasswithoutid; +package org.hibernate.processor.test.mappedsuperclass.mappedsuperclasswithoutid; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java index 8ad5ac20df..5d00ae3bab 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroup.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; import java.util.Set; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java similarity index 85% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java index 9fc70bbbd7..396a6d8d38 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupInTopic.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java similarity index 84% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java index 78e759de4d..6377eb87e1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPost.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java index 2b016af3ed..17dfed9499 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/AttachmentGroupPostInTopic.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/Post.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/Post.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/Post.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/Post.java index 61d7149b10..dd9b75e942 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/Post.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/Post.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; import jakarta.persistence.MappedSuperclass; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java similarity index 66% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java index 34371bc844..4b474850c1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/TypesMappedSuperclassTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/UserRole.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/UserRole.java similarity index 79% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/UserRole.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/UserRole.java index c1a9044b30..42127eaa4c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mappedsuperclass/typedmappedsuperclass/UserRole.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mappedsuperclass/typedmappedsuperclass/UserRole.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mappedsuperclass.typedmappedsuperclass; +package org.hibernate.processor.test.mappedsuperclass.typedmappedsuperclass; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Car.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Car.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Car.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Car.java index 4c353369b3..f51d9aaee7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Car.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Car.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Coordinates.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Coordinates.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Coordinates.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Coordinates.java index 38bdf4e5cf..f41ad714a2 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Coordinates.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Coordinates.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Insurance.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Insurance.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Insurance.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Insurance.java index 66d34e9cc4..9d7f707bf7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Insurance.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Insurance.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Location.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Location.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Location.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Location.java index cce27da2da..76cdaa8583 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Location.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Location.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/MixedConfigurationTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/MixedConfigurationTest.java similarity index 82% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/MixedConfigurationTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/MixedConfigurationTest.java index f9698ab8ad..deae7edc04 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/MixedConfigurationTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/MixedConfigurationTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Person.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Person.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Person.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Person.java index 2fe37fee09..6e3979b688 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Person.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Person.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/RentalCar.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/RentalCar.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/RentalCar.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/RentalCar.java index 246f5c4d4c..02bf90bd97 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/RentalCar.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/RentalCar.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/RentalCompany.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/RentalCompany.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/RentalCompany.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/RentalCompany.java index 7873d4a438..16ca9a96b7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/RentalCompany.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/RentalCompany.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Truck.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Truck.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Truck.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Truck.java index 56e5aecf64..45e4b395b2 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Truck.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Truck.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; /** diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Vehicle.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Vehicle.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Vehicle.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Vehicle.java index 7a8f49e142..370b2358ff 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/Vehicle.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/Vehicle.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/XmlMetaCompleteTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/XmlMetaCompleteTest.java similarity index 59% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/XmlMetaCompleteTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/XmlMetaCompleteTest.java index 9e8030fe9c..26f4aa82e8 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/XmlMetaCompleteTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/XmlMetaCompleteTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertAbsenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/ZeroCoordinates.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/ZeroCoordinates.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/ZeroCoordinates.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/ZeroCoordinates.java index a62334bbd7..7c7ec5135b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/mixedmode/ZeroCoordinates.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/mixedmode/ZeroCoordinates.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.mixedmode; +package org.hibernate.processor.test.mixedmode; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/AuxiliaryTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/AuxiliaryTest.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/AuxiliaryTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/AuxiliaryTest.java index 97090a868d..a69fb8412d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/AuxiliaryTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/AuxiliaryTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.namedquery; +package org.hibernate.processor.test.namedquery; import jakarta.persistence.EntityManager; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfMethodInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfNameFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfMethodInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfNameFieldInMetamodelFor; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Book.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Book.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Book.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Book.java index 4e60ec7dac..d5ed772695 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Book.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Book.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.namedquery; +package org.hibernate.processor.test.namedquery; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Main.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Main.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Main.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Main.java index a9ae152e82..2eeac3ae9f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/namedquery/Main.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Main.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.namedquery; +package org.hibernate.processor.test.namedquery; import jakarta.persistence.NamedNativeQueries; import jakarta.persistence.NamedNativeQuery; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Type.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Type.java new file mode 100644 index 0000000000..fb71897344 --- /dev/null +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/namedquery/Type.java @@ -0,0 +1,3 @@ +package org.hibernate.processor.test.namedquery; + +enum Type {Book, Magazine, Journal} diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/noentity/Dao.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/noentity/Dao.java similarity index 79% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/noentity/Dao.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/noentity/Dao.java index 243101b3ba..a949bd860c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/noentity/Dao.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/noentity/Dao.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.noentity; +package org.hibernate.processor.test.noentity; import jakarta.persistence.TypedQuery; import org.hibernate.annotations.processing.HQL; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/noentity/NoEntityTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/noentity/NoEntityTest.java similarity index 64% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/noentity/NoEntityTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/noentity/NoEntityTest.java index 30d7e98975..cd67590a28 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/noentity/NoEntityTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/noentity/NoEntityTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.noentity; +package org.hibernate.processor.test.noentity; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/persistence21/Jpa21DescriptorTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/persistence21/Jpa21DescriptorTest.java similarity index 56% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/persistence21/Jpa21DescriptorTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/persistence21/Jpa21DescriptorTest.java index 9f2980752c..d9fd5e2802 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/persistence21/Jpa21DescriptorTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/persistence21/Jpa21DescriptorTest.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.persistence21; +package org.hibernate.processor.test.persistence21; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * Test for parsing JPA 2.1 descriptors. @@ -26,7 +26,7 @@ public class Jpa21DescriptorTest extends CompilationTest { @TestForIssue(jiraKey = "METAGEN-92") @WithClasses(Snafu.class) @WithProcessorOption(key = HibernateProcessor.PERSISTENCE_XML_OPTION, - value = "org/hibernate/jpamodelgen/test/persistence21/persistence.xml") + value = "org/hibernate/processor/test/persistence21/persistence.xml") public void testMetaModelGeneratedForXmlConfiguredEntity() { assertMetamodelClassGeneratedFor( Snafu.class ); } diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/persistence21/Snafu.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/persistence21/Snafu.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/persistence21/Snafu.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/persistence21/Snafu.java index 828aa5d556..461b1d9e10 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/persistence21/Snafu.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/persistence21/Snafu.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.persistence21; +package org.hibernate.processor.test.persistence21; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/DeskWithRawType.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/DeskWithRawType.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/DeskWithRawType.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/DeskWithRawType.java index 9102c50e76..b044f7decc 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/DeskWithRawType.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/DeskWithRawType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.rawtypes; +package org.hibernate.processor.test.rawtypes; import java.util.Collection; import jakarta.persistence.Basic; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/EmployeeWithRawType.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/EmployeeWithRawType.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/EmployeeWithRawType.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/EmployeeWithRawType.java index 5357f8c9fc..d9c6599982 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/EmployeeWithRawType.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/EmployeeWithRawType.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.rawtypes; +package org.hibernate.processor.test.rawtypes; import java.util.Collection; import jakarta.persistence.Basic; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/RawTypesTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/RawTypesTest.java similarity index 69% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/RawTypesTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/RawTypesTest.java index 305fa80d03..c5ce28a64c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/rawtypes/RawTypesTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/rawtypes/RawTypesTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.rawtypes; +package org.hibernate.processor.test.rawtypes; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Emmanuel Bernard diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Address.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Address.java similarity index 72% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Address.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Address.java index 89853206cc..2562673eed 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Address.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Address.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.records; +package org.hibernate.processor.test.records; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Author.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Author.java similarity index 95% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Author.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Author.java index 2a95f38558..607e8fd470 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Author.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Author.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.records; +package org.hibernate.processor.test.records; import jakarta.persistence.Embedded; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Java14RecordsTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Java14RecordsTest.java similarity index 83% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Java14RecordsTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Java14RecordsTest.java index 4bccbd5d73..13af47aa5b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/records/Java14RecordsTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/records/Java14RecordsTest.java @@ -1,9 +1,9 @@ -package org.hibernate.jpamodelgen.test.records; +package org.hibernate.processor.test.records; import jakarta.persistence.metamodel.SingularAttribute; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; import java.lang.reflect.Field; @@ -12,8 +12,8 @@ import java.lang.reflect.Type; import java.util.List; import static java.lang.reflect.Modifier.isStatic; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getFieldFromMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getFieldFromMetamodelFor; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/Entity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/Entity.java similarity index 70% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/Entity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/Entity.java index 5f34f3281b..400d67c7d9 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/Entity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/Entity.java @@ -4,9 +4,9 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.separatecompilationunits; +package org.hibernate.processor.test.separatecompilationunits; -import org.hibernate.jpamodelgen.test.separatecompilationunits.superclass.MappedSuperclass; +import org.hibernate.processor.test.separatecompilationunits.superclass.MappedSuperclass; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/SeparateCompilationUnitsTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/SeparateCompilationUnitsTest.java similarity index 59% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/SeparateCompilationUnitsTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/SeparateCompilationUnitsTest.java index 8dfa733cf0..8a13817c3f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/SeparateCompilationUnitsTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/SeparateCompilationUnitsTest.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.separatecompilationunits; +package org.hibernate.processor.test.separatecompilationunits; -import org.hibernate.jpamodelgen.test.separatecompilationunits.superclass.MappedSuperclass; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.IgnoreCompilationErrors; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.separatecompilationunits.superclass.MappedSuperclass; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.IgnoreCompilationErrors; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertTrue; /** @@ -30,7 +30,7 @@ public class SeparateCompilationUnitsTest extends CompilationTest { String entityMetaModel = getMetaModelSourceAsString( Entity.class ); assertTrue( entityMetaModel.contains( - "extends org.hibernate.jpamodelgen.test.separatecompilationunits.superclass.MappedSuperclass" + "extends org.hibernate.processor.test.separatecompilationunits.superclass.MappedSuperclass" ) ); } diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/superclass/MappedSuperclass.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/superclass/MappedSuperclass.java similarity index 84% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/superclass/MappedSuperclass.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/superclass/MappedSuperclass.java index 3bc6f6fb1b..41503d6702 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/separatecompilationunits/superclass/MappedSuperclass.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/superclass/MappedSuperclass.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.separatecompilationunits.superclass; +package org.hibernate.processor.test.separatecompilationunits.superclass; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/PrintJob.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/PrintJob.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/PrintJob.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/PrintJob.java index 487cdebc3b..c394803894 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/PrintJob.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/PrintJob.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.sortedcollection; +package org.hibernate.processor.test.sortedcollection; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/Printer.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/Printer.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/Printer.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/Printer.java index f9ec5bd9f7..2aafa062e0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/Printer.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/Printer.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.sortedcollection; +package org.hibernate.processor.test.sortedcollection; import java.util.SortedMap; import java.util.SortedSet; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/SortedCollectionTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/SortedCollectionTest.java similarity index 66% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/SortedCollectionTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/SortedCollectionTest.java index 50bc6422cb..945b60edc1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/sortedcollection/SortedCollectionTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/sortedcollection/SortedCollectionTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.sortedcollection; +package org.hibernate.processor.test.sortedcollection; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java similarity index 66% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java index ac2ecdb75c..25b4355874 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/SuppressWarningsAnnotationGeneratedTest.java @@ -4,17 +4,17 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.supresswarnings; +package org.hibernate.processor.test.supresswarnings; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertTrue; /** diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java similarity index 69% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java index d791be30d8..e64ce0b40f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/SuppressWarningsAnnotationNotGeneratedTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.supresswarnings; +package org.hibernate.processor.test.supresswarnings; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertFalse; /** diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/TestEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/TestEntity.java similarity index 87% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/TestEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/TestEntity.java index 46a1269a53..f16566cc1f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/supresswarnings/TestEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/supresswarnings/TestEntity.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.supresswarnings; +package org.hibernate.processor.test.supresswarnings; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/Address.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/Address.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/Address.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/Address.java index 213a64dbf2..7f0070a3cb 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/Address.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/Address.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.targetannotation; +package org.hibernate.processor.test.targetannotation; import jakarta.persistence.Embeddable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/AddressImpl.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/AddressImpl.java similarity index 85% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/AddressImpl.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/AddressImpl.java index e1e8f0b9b2..92464f9002 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/AddressImpl.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/AddressImpl.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.targetannotation; +package org.hibernate.processor.test.targetannotation; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/House.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/House.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/House.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/House.java index d95f48d98e..3e603cd044 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/House.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/House.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.targetannotation; +package org.hibernate.processor.test.targetannotation; import jakarta.persistence.Embedded; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/TargetAnnotationTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/TargetAnnotationTest.java similarity index 62% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/TargetAnnotationTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/TargetAnnotationTest.java index 20266713bb..b0a83a4211 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/targetannotation/TargetAnnotationTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/targetannotation/TargetAnnotationTest.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.targetannotation; +package org.hibernate.processor.test.targetannotation; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/ContactDetails.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/ContactDetails.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/ContactDetails.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/ContactDetails.java index 7f2b570032..834515346c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/ContactDetails.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/ContactDetails.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.usertype; +package org.hibernate.processor.test.usertype; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/PhoneNumber.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/PhoneNumber.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/PhoneNumber.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/PhoneNumber.java index 74a0248ce5..11a7609f10 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/PhoneNumber.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/PhoneNumber.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.usertype; +package org.hibernate.processor.test.usertype; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/UserTypeTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/UserTypeTest.java similarity index 63% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/UserTypeTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/UserTypeTest.java index a678ad29a9..4e38ad630d 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/usertype/UserTypeTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/usertype/UserTypeTest.java @@ -4,15 +4,15 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.usertype; +package org.hibernate.processor.test.usertype; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationRunner.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationRunner.java similarity index 98% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationRunner.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationRunner.java index e8a30fa561..4ba8dfee96 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationRunner.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationRunner.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.util.ArrayList; import java.util.Collections; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationStatement.java similarity index 98% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationStatement.java index 70f76c9eb5..64d20245ed 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationStatement.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.io.File; import java.util.ArrayList; @@ -17,7 +17,7 @@ import javax.tools.JavaFileObject; import javax.tools.StandardJavaFileManager; import javax.tools.ToolProvider; -import org.hibernate.jpamodelgen.HibernateProcessor; +import org.hibernate.processor.HibernateProcessor; import org.junit.runners.model.Statement; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationTest.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationTest.java index 0ef4588dac..ed7bc94909 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/CompilationTest.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import org.junit.After; import org.junit.runner.RunWith; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/IgnoreCompilationErrors.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/IgnoreCompilationErrors.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/IgnoreCompilationErrors.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/IgnoreCompilationErrors.java index ea5f9ea686..77bea724ff 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/IgnoreCompilationErrors.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/IgnoreCompilationErrors.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestForIssue.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/TestForIssue.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestForIssue.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/TestForIssue.java index b2b5c14f75..ad8d4eb927 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestForIssue.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/TestForIssue.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestUtil.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/TestUtil.java similarity index 99% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestUtil.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/TestUtil.java index 78e1190417..892ab429a4 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestUtil.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/TestUtil.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithClasses.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithClasses.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithClasses.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithClasses.java index d32b80bcbf..523a4e7079 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithClasses.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithClasses.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithMappingFiles.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithMappingFiles.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithMappingFiles.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithMappingFiles.java index 204306ad37..61c9678ee1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithMappingFiles.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithMappingFiles.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithProcessorOption.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithProcessorOption.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithProcessorOption.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithProcessorOption.java index 7a950e335d..801707199e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/WithProcessorOption.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/util/WithProcessorOption.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.util; +package org.hibernate.processor.test.util; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/Property.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/Property.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/Property.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/Property.java index f30409860b..38dfc4d7b0 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/Property.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/Property.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.wildcard; +package org.hibernate.processor.test.wildcard; public interface Property { diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/PropertyRepo.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/PropertyRepo.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/PropertyRepo.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/PropertyRepo.java index 1e6394d82a..fb9a441b4f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/PropertyRepo.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/PropertyRepo.java @@ -1,4 +1,4 @@ -package org.hibernate.jpamodelgen.test.wildcard; +package org.hibernate.processor.test.wildcard; import jakarta.persistence.DiscriminatorType; import jakarta.persistence.Entity; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/WildcardTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/WildcardTest.java similarity index 65% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/WildcardTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/WildcardTest.java index 2d1a4164ea..fbee0d62cb 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/WildcardTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/WildcardTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.wildcard; +package org.hibernate.processor.test.wildcard; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestUtil; -import org.hibernate.jpamodelgen.test.util.WithClasses; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestUtil; +import org.hibernate.processor.test.util.WithClasses; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Gavin King diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/BusinessEntity.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/BusinessEntity.java similarity index 78% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/BusinessEntity.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/BusinessEntity.java index 92b6d68f52..2dacbd442b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/BusinessEntity.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/BusinessEntity.java @@ -4,11 +4,11 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlembeddable; +package org.hibernate.processor.test.xmlembeddable; import java.io.Serializable; -import org.hibernate.jpamodelgen.test.xmlembeddable.foo.BusinessId; +import org.hibernate.processor.test.xmlembeddable.foo.BusinessId; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java similarity index 66% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java index 3d0cb01a6b..624a7de234 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/EmbeddableConfiguredInXmlTest.java @@ -4,18 +4,18 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlembeddable; +package org.hibernate.processor.test.xmlembeddable; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.IgnoreCompilationErrors; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; -import org.hibernate.jpamodelgen.test.xmlembeddable.foo.BusinessId; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.IgnoreCompilationErrors; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; +import org.hibernate.processor.test.xmlembeddable.foo.BusinessId; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.getMetaModelSourceAsString; +import static org.hibernate.processor.test.util.TestUtil.getMetaModelSourceAsString; import static org.junit.Assert.assertTrue; /** diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/Foo.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/Foo.java similarity index 87% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/Foo.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/Foo.java index 21f48ce1e7..91478f7168 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/Foo.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/Foo.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlembeddable; +package org.hibernate.processor.test.xmlembeddable; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/foo/BusinessId.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/foo/BusinessId.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/foo/BusinessId.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/foo/BusinessId.java index d6368736f3..1b717aec7c 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlembeddable/foo/BusinessId.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlembeddable/foo/BusinessId.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlembeddable.foo; +package org.hibernate.processor.test.xmlembeddable.foo; import java.io.Serializable; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Address.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Address.java similarity index 93% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Address.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Address.java index 107a33c3cb..99ab32a18f 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Address.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Address.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Boy.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Boy.java similarity index 96% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Boy.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Boy.java index 18047f44fc..7a7410566a 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Boy.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Boy.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; import java.util.List; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Building.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Building.java similarity index 74% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Building.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Building.java index 16342eb7bc..301fff13aa 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Building.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Building.java @@ -4,10 +4,10 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; -import org.hibernate.jpamodelgen.test.accesstype.Address; -import org.hibernate.jpamodelgen.test.accesstype.Area; +import org.hibernate.processor.test.accesstype.Address; +import org.hibernate.processor.test.accesstype.Area; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/FakeHero.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/FakeHero.java similarity index 85% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/FakeHero.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/FakeHero.java index 55759f28bb..7e5c7b39a2 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/FakeHero.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/FakeHero.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/IgnoreInvalidXmlTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/IgnoreInvalidXmlTest.java similarity index 70% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/IgnoreInvalidXmlTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/IgnoreInvalidXmlTest.java index 859413392f..898a372126 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/IgnoreInvalidXmlTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/IgnoreInvalidXmlTest.java @@ -4,14 +4,14 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithMappingFiles; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithMappingFiles; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/LivingBeing.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/LivingBeing.java similarity index 91% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/LivingBeing.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/LivingBeing.java index a52570c508..d6edf6cdcd 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/LivingBeing.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/LivingBeing.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Mammal.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Mammal.java similarity index 92% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Mammal.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Mammal.java index 7bd1b0c6f9..b0e2673122 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Mammal.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Mammal.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Superhero.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Superhero.java similarity index 94% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Superhero.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Superhero.java index 602d9615e9..6b312359b5 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/Superhero.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/Superhero.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/XmlMappingTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/XmlMappingTest.java similarity index 76% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/XmlMappingTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/XmlMappingTest.java index b93b68e413..ee13ed6d08 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmapped/XmlMappingTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmapped/XmlMappingTest.java @@ -4,19 +4,19 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmapped; +package org.hibernate.processor.test.xmlmapped; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertSuperClassRelationShipInMetamodel; +import static org.hibernate.processor.test.util.TestUtil.assertAttributeTypeInMetaModelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertSuperClassRelationShipInMetamodel; /** * @author Hardy Ferentschik @@ -32,7 +32,7 @@ import static org.hibernate.jpamodelgen.test.util.TestUtil.assertSuperClassRelat Superhero.class }) @WithProcessorOption(key = HibernateProcessor.PERSISTENCE_XML_OPTION, - value = "org/hibernate/jpamodelgen/test/xmlmapped/persistence.xml") + value = "org/hibernate/processor/test/xmlmapped/persistence.xml") public class XmlMappingTest extends CompilationTest { @Test public void testXmlConfiguredEmbeddedClassGenerated() { @@ -91,6 +91,6 @@ public class XmlMappingTest extends CompilationTest { @Test(expected = ClassNotFoundException.class) public void testNonExistentMappedClassesGetIgnored() throws Exception { - Class.forName( "org.hibernate.jpamodelgen.test.model.Dummy_" ); + Class.forName( "org.hibernate.processor.test.model.Dummy_" ); } } diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/Dummy.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/multiplepus/Dummy.java similarity index 87% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/Dummy.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/multiplepus/Dummy.java index 9586aa1fb8..a112edf544 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/Dummy.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/multiplepus/Dummy.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmetacomplete.multiplepus; +package org.hibernate.processor.test.xmlmetacomplete.multiplepus; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java similarity index 58% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java index 1e6477a01b..e4e312cfc7 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/multiplepus/XmlMetaDataCompleteMultiplePersistenceUnitsTest.java @@ -4,16 +4,16 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmetacomplete.multiplepus; +package org.hibernate.processor.test.xmlmetacomplete.multiplepus; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.TestForIssue; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.TestForIssue; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; /** * @author Hardy Ferentschik @@ -24,7 +24,7 @@ public class XmlMetaDataCompleteMultiplePersistenceUnitsTest extends Compilation @Test @WithClasses(Dummy.class) @WithProcessorOption(key = HibernateProcessor.PERSISTENCE_XML_OPTION, - value = "org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/persistence.xml") + value = "org/hibernate/processor/test/xmlmetacomplete/multiplepus/persistence.xml") public void testMetaModelGenerated() { // only one of the xml files in the example uses 'xml-mapping-metadata-complete', hence annotation processing // kicks in diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/Dummy.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/singlepu/Dummy.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/Dummy.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/singlepu/Dummy.java index 7d10d66b35..dd2e87c131 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/Dummy.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/singlepu/Dummy.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmetacomplete.singlepu; +package org.hibernate.processor.test.xmlmetacomplete.singlepu; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java similarity index 56% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java index 6c39ff77a6..fdfa8bc818 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlmetacomplete/singlepu/XmlMetaDataCompleteSinglePersistenceUnitTest.java @@ -4,24 +4,24 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlmetacomplete.singlepu; +package org.hibernate.processor.test.xmlmetacomplete.singlepu; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertNoSourceFileGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertNoSourceFileGeneratedFor; /** * @author Hardy Ferentschik */ public class XmlMetaDataCompleteSinglePersistenceUnitTest extends CompilationTest { @Test - @WithClasses(org.hibernate.jpamodelgen.test.xmlmetacomplete.multiplepus.Dummy.class) + @WithClasses(org.hibernate.processor.test.xmlmetacomplete.multiplepus.Dummy.class) @WithProcessorOption(key = HibernateProcessor.PERSISTENCE_XML_OPTION, - value = "org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/persistence.xml") + value = "org/hibernate/processor/test/xmlmetacomplete/singlepu/persistence.xml") public void testNoMetaModelGenerated() { // the xml mapping files used in the example say that the xml data is meta complete. For that // reason there should be no meta model source file for the annotated Dummy entity diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Car.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Car.java similarity index 90% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Car.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Car.java index 3684d50004..af3a20887b 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Car.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Car.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Course.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Course.java similarity index 88% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Course.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Course.java index 646fc0781e..735c578fc1 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Course.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Course.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Option.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Option.java similarity index 86% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Option.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Option.java index e26b9b0b7c..4dae899d94 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Option.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Option.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; public class Option { private Long id; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Period.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Period.java similarity index 87% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Period.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Period.java index b37f38c379..e9c8ef9660 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Period.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Period.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; import java.util.Date; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Teacher.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Teacher.java similarity index 87% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Teacher.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Teacher.java index d0dee68b5f..4136b2279e 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Teacher.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Teacher.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; import java.util.Set; diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Tire.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Tire.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Tire.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Tire.java index 93f7663967..7eef6c2b48 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Tire.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/Tire.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; public class Tire { public Long getId() { diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/XmlOnly.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/XmlOnly.java similarity index 89% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/XmlOnly.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/XmlOnly.java index 91cc8e7ee2..6a26572c16 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/XmlOnly.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/XmlOnly.java @@ -4,7 +4,7 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; /** * @author Hardy Ferentschik diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/XmlOnlyTest.java b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/XmlOnlyTest.java similarity index 74% rename from tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/XmlOnlyTest.java rename to tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/XmlOnlyTest.java index 28e1125cb8..26ac949033 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/XmlOnlyTest.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/xmlonly/XmlOnlyTest.java @@ -4,23 +4,23 @@ * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ -package org.hibernate.jpamodelgen.test.xmlonly; +package org.hibernate.processor.test.xmlonly; -import org.hibernate.jpamodelgen.HibernateProcessor; -import org.hibernate.jpamodelgen.test.util.CompilationTest; -import org.hibernate.jpamodelgen.test.util.WithClasses; -import org.hibernate.jpamodelgen.test.util.WithProcessorOption; +import org.hibernate.processor.HibernateProcessor; +import org.hibernate.processor.test.util.CompilationTest; +import org.hibernate.processor.test.util.WithClasses; +import org.hibernate.processor.test.util.WithProcessorOption; import org.junit.Test; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor; -import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; +import static org.hibernate.processor.test.util.TestUtil.assertMetamodelClassGeneratedFor; +import static org.hibernate.processor.test.util.TestUtil.assertPresenceOfFieldInMetamodelFor; /** * @author Hardy Ferentschik */ @WithClasses({ Car.class, Course.class, Option.class, Period.class, Teacher.class, Tire.class, XmlOnly.class }) @WithProcessorOption(key = HibernateProcessor.PERSISTENCE_XML_OPTION, - value = "org/hibernate/jpamodelgen/test/xmlonly/persistence.xml") + value = "org/hibernate/processor/test/xmlonly/persistence.xml") public class XmlOnlyTest extends CompilationTest { @Test public void testMetaModelGeneratedForXmlConfiguredEntity() { diff --git a/tooling/metamodel-generator/src/test/resources/log4j2.properties b/tooling/metamodel-generator/src/test/resources/log4j2.properties index 096dfc1d71..4da1ac29de 100644 --- a/tooling/metamodel-generator/src/test/resources/log4j2.properties +++ b/tooling/metamodel-generator/src/test/resources/log4j2.properties @@ -23,6 +23,6 @@ appender.file.layout.pattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n rootLogger.level=warn rootLogger.appenderRef.stdout.ref=STDOUT -logger.compilation-test.name=org.hibernate.jpamodelgen.test.util.CompilationTest +logger.compilation-test.name=org.hibernate.processor.test.util.CompilationTest #logger.compilation-test.level=trace diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/accesstype/orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/accesstype/orm.xml similarity index 88% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/accesstype/orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/accesstype/orm.xml index 39e417de83..308cdce924 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/accesstype/orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/accesstype/orm.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.accesstype + org.hibernate.processor.test.accesstype @@ -21,7 +21,7 @@ diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/annotationtype/orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/annotationtype/orm.xml similarity index 93% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/annotationtype/orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/annotationtype/orm.xml index 98976b63ae..6b9895ac33 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/annotationtype/orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/annotationtype/orm.xml @@ -13,7 +13,7 @@ - org.hibernate.jpamodelgen.test.annotationtype + org.hibernate.processor.test.annotationtype diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/elementcollection/hostel.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/elementcollection/hostel.xml similarity index 71% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/elementcollection/hostel.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/elementcollection/hostel.xml index 643223ed7e..168c8ff1d3 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/elementcollection/hostel.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/elementcollection/hostel.xml @@ -11,14 +11,14 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.elementcollection - + org.hibernate.processor.test.elementcollection + - + + target-class="org.hibernate.processor.test.elementcollection.Room"> diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/embeddedid/withinheritance/orm.xml similarity index 81% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/embeddedid/withinheritance/orm.xml index e388490316..7eacf45131 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/embeddedid/withinheritance/orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/embeddedid/withinheritance/orm.xml @@ -10,7 +10,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd" version="2.0"> - + @@ -18,7 +18,7 @@ - + \ No newline at end of file diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/embeddedid/withoutinheritance/orm.xml similarity index 75% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/embeddedid/withoutinheritance/orm.xml index 37bb2f3084..a7adc2b30a 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/embeddedid/withoutinheritance/orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/embeddedid/withoutinheritance/orm.xml @@ -11,14 +11,14 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.embeddedid - + org.hibernate.processor.test.embeddedid + - + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/car.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/car.xml similarity index 92% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/car.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/car.xml index 6d08f9d9bf..9cc9668b68 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/car.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/car.xml @@ -13,7 +13,7 @@ > foo.bar - + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/coordinates.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/coordinates.xml similarity index 85% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/coordinates.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/coordinates.xml index d0ccba8fa7..51299c33fa 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/coordinates.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/coordinates.xml @@ -12,13 +12,13 @@ version="2.0" > - + - + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/orm.xml similarity index 92% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/orm.xml index 9b036c909c..d4b2007826 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/orm.xml @@ -14,7 +14,7 @@ - org.hibernate.jpamodelgen.test.mixedmode + org.hibernate.processor.test.mixedmode diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/rentalcar.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/rentalcar.xml similarity index 91% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/rentalcar.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/rentalcar.xml index a0938f9f14..9a049f786a 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/rentalcar.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/rentalcar.xml @@ -13,7 +13,7 @@ > foo.bar - + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/truck.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/truck.xml similarity index 92% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/truck.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/truck.xml index 9f5d6a97fc..a7425d6994 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/mixedmode/truck.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/mixedmode/truck.xml @@ -13,7 +13,7 @@ > foo.bar - + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/persistence21/persistence.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/persistence21/persistence.xml similarity index 88% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/persistence21/persistence.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/persistence21/persistence.xml index 420f7bc7f5..1ad0957061 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/persistence21/persistence.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/persistence21/persistence.xml @@ -14,6 +14,6 @@ version="2.1"> - /org/hibernate/jpamodelgen/test/persistence21/snafu.xml + /org/hibernate/processor/test/persistence21/snafu.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/persistence21/snafu.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/persistence21/snafu.xml similarity index 92% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/persistence21/snafu.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/persistence21/snafu.xml index 2ea7f970fb..7c6a121fe0 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/persistence21/snafu.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/persistence21/snafu.xml @@ -16,7 +16,7 @@ - org.hibernate.jpamodelgen.test.persistence21 + org.hibernate.processor.test.persistence21 diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlembeddable/orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlembeddable/orm.xml similarity index 86% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlembeddable/orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlembeddable/orm.xml index d4da8a36ed..0ce43cb5cc 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlembeddable/orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlembeddable/orm.xml @@ -10,7 +10,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd" version="2.0"> - org.hibernate.jpamodelgen.test.xmlembeddable + org.hibernate.processor.test.xmlembeddable @@ -21,7 +21,7 @@ - + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/address.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/address.xml similarity index 90% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/address.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/address.xml index e33e3fabbf..e3ab19a9d5 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/address.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/address.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.xmlmapped + org.hibernate.processor.test.xmlmapped diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/boy.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/boy.xml similarity index 83% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/boy.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/boy.xml index c5db0d8261..6865d83e56 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/boy.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/boy.xml @@ -11,14 +11,14 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.xmlmapped + org.hibernate.processor.test.xmlmapped - - - + + + diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/building.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/building.xml similarity index 90% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/building.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/building.xml index 0f47bda752..92882a6bff 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/building.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/building.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/jpa1-orm.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/jpa1-orm.xml similarity index 93% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/jpa1-orm.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/jpa1-orm.xml index a524c3168c..b2a28c9f19 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/jpa1-orm.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/jpa1-orm.xml @@ -12,7 +12,7 @@ version="1.0" > - org.hibernate.jpamodelgen.test.model + org.hibernate.processor.test.model diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/malformed-mapping.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/malformed-mapping.xml similarity index 92% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/malformed-mapping.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/malformed-mapping.xml index ba6e637212..719ad595b1 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/malformed-mapping.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/malformed-mapping.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.model + org.hibernate.processor.test.model diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/mammal.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/mammal.xml similarity index 93% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/mammal.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/mammal.xml index 58def72e33..4311bc9a08 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/mammal.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/mammal.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.xmlmapped + org.hibernate.processor.test.xmlmapped diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/non-existend-class.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/non-existend-class.xml similarity index 92% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/non-existend-class.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/non-existend-class.xml index 6a9759a546..b76f6063b2 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/non-existend-class.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/non-existend-class.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0" > - org.hibernate.jpamodelgen.test.model + org.hibernate.processor.test.model diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/persistence.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/persistence.xml similarity index 66% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/persistence.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/persistence.xml index b933472ff4..f9b2c6e9dc 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmapped/persistence.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmapped/persistence.xml @@ -9,10 +9,10 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence.xsd" version="2.0"> - /org/hibernate/jpamodelgen/test/xmlmapped/address.xml - /org/hibernate/jpamodelgen/test/xmlmapped/building.xml + /org/hibernate/processor/test/xmlmapped/address.xml + /org/hibernate/processor/test/xmlmapped/building.xml - org/hibernate/jpamodelgen/test/xmlmapped/mammal.xml - org/hibernate/jpamodelgen/test/xmlmapped/boy.xml + org/hibernate/processor/test/xmlmapped/mammal.xml + org/hibernate/processor/test/xmlmapped/boy.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/bar.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/bar.xml similarity index 100% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/bar.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/bar.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/foo.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/foo.xml similarity index 100% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/foo.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/foo.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/persistence.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/persistence.xml similarity index 79% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/persistence.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/persistence.xml index aa41f415de..12f9a00398 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/persistence.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/multiplepus/persistence.xml @@ -11,9 +11,9 @@ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/persistence/persistence_2_1.xsd" version="2.1"> - /org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/foo.xml + /org/hibernate/processor/test/xmlmetacomplete/multiplepus/foo.xml - /org/hibernate/jpamodelgen/test/xmlmetacomplete/multiplepus/bar.xml + /org/hibernate/processor/test/xmlmetacomplete/multiplepus/bar.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/foo.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/singlepu/foo.xml similarity index 100% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/foo.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/singlepu/foo.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/persistence.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/singlepu/persistence.xml similarity index 86% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/persistence.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/singlepu/persistence.xml index 6b01f02fb1..4c194efc54 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/persistence.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlmetacomplete/singlepu/persistence.xml @@ -10,6 +10,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence.xsd" version="2.0"> - /org/hibernate/jpamodelgen/test/xmlmetacomplete/singlepu/foo.xml + /org/hibernate/processor/test/xmlmetacomplete/singlepu/foo.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlonly/persistence.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlonly/persistence.xml similarity index 87% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlonly/persistence.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlonly/persistence.xml index e3bfdb44bb..f022e8fa72 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlonly/persistence.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlonly/persistence.xml @@ -10,6 +10,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence.xsd" version="2.0"> - /org/hibernate/jpamodelgen/test/xmlonly/xmlonly.xml + /org/hibernate/processor/test/xmlonly/xmlonly.xml diff --git a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlonly/xmlonly.xml b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlonly/xmlonly.xml similarity index 97% rename from tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlonly/xmlonly.xml rename to tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlonly/xmlonly.xml index 1597102528..c830f0037e 100644 --- a/tooling/metamodel-generator/src/test/resources/org/hibernate/jpamodelgen/test/xmlonly/xmlonly.xml +++ b/tooling/metamodel-generator/src/test/resources/org/hibernate/processor/test/xmlonly/xmlonly.xml @@ -16,7 +16,7 @@ - org.hibernate.jpamodelgen.test.xmlonly + org.hibernate.processor.test.xmlonly