From 703eaf22a07b6f492f97b62299d23247bca64086 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 9 Dec 2021 07:20:28 -0600 Subject: [PATCH] HHH-14497 - Drop legacy id-generator settings; HHH-14718 - Drop deprecated generator implementations --- .../DefaultCatalogAndSchemaTest.java | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java b/hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java index a7232c1b2c..dac416c433 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java @@ -1055,35 +1055,6 @@ public class DefaultCatalogAndSchemaTest { private String basic; } - @Entity(name = EntityWithDefaultQualifiersWithSequenceIdentityGenerator.NAME) - public static class EntityWithDefaultQualifiersWithSequenceIdentityGenerator { - public static final String NAME = "EntityWithDefaultQualifiersWithSequenceIdentityGenerator"; - @Id - @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = NAME + "_generator") - @GenericGenerator(name = NAME + "_generator", strategy = "sequence-identity", parameters = { - @Parameter(name = "sequence", value = NAME + "_seq") - }) - private Long id; - @Basic - private String basic; - } - - @Entity(name = EntityWithExplicitQualifiersWithSequenceIdentityGenerator.NAME) - @Table(catalog = EXPLICIT_CATALOG, schema = EXPLICIT_SCHEMA) - public static class EntityWithExplicitQualifiersWithSequenceIdentityGenerator { - public static final String NAME = "EntityWithExplicitQualifiersWithSequenceIdentityGenerator"; - @Id - @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = NAME + "_generator") - @GenericGenerator(name = NAME + "_generator", strategy = "sequence-identity", parameters = { - @Parameter(name = "sequence", value = NAME + "_seq"), - @Parameter(name = "catalog", value = EXPLICIT_CATALOG), - @Parameter(name = "schema", value = EXPLICIT_SCHEMA) - }) - private Long id; - @Basic - private String basic; - } - @Entity(name = EntityWithDefaultQualifiersWithEnhancedSequenceGenerator.NAME) public static class EntityWithDefaultQualifiersWithEnhancedSequenceGenerator { public static final String NAME = "EntityWithDefaultQualifiersWithEnhancedSequenceGenerator";