From 3144910f37c0d7e59a72a65f33181107a4a3d316 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Tue, 23 Jul 2024 18:42:26 +0200 Subject: [PATCH] [jakartaee/persistence#644] Don't redefine table on single table inheritance subclass --- .../core/inheritance/abstractentity/FullTimeEmployee.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java index 48be4e9891..e2dd8aab92 100644 --- a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2024 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -25,14 +25,12 @@ import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; import jakarta.persistence.Entity; -import jakarta.persistence.Table; /* * FullTimeEmployee */ @Entity -@Table(name = "EMPLOYEE") @DiscriminatorValue("EXEMPT") public class FullTimeEmployee extends Employee {