blob: 027199ef91d79dd34162294ae39a4ecdce2bed17 [file] [log] [blame]
/*
* Copyright (c) 2012, 2020 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
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// 08/30/2013-2.5.1 Chris Delahunt
// - 413765: DeleteAll query on subclass with a parent that has secondary
// tables causes statements to ignore selection criteria
package org.eclipse.persistence.testing.models.jpa.advanced;
import jakarta.persistence.DiscriminatorValue;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
/*
* This class uses the same table as Project, and should not have its own table or its immediate parent.
* This allows HugeProject's table to act like a secondary table in tests for bug 413765
*/
@Entity
@Table(name="CMP3_PROJECT")
@DiscriminatorValue("Z")
public class SpecialHugeProject extends HugeProject {
public SpecialHugeProject() {
}
public SpecialHugeProject(String name) {
super(name);
}
}